소스 검색

Remove useless QJSValue cast for transparent type

Alexey Edelev 5 년 전
부모
커밋
74725b944a
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      src/protobuf/qtprotobuftypes.h

+ 0 - 2
src/protobuf/qtprotobuftypes.h

@@ -47,8 +47,6 @@ struct transparent {
     T _t;
     operator T&(){ return _t; }
     operator T() const { return _t; }
-    operator QJSValue&() { return QJSValue(_t); }
-    operator QJSValue() const { return QJSValue(_t); }
     transparent& operator =(const T& t) { _t = t; return *this; }
 };