Explorar o código

Remove useless QJSValue cast for transparent type

Alexey Edelev %!s(int64=5) %!d(string=hai) anos
pai
achega
74725b944a
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  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; }
 };