cpp-common/bt2: use bt2c::CStringView in parameters and return values throughout
[babeltrace.git] / src / cpp-common / bt2 / raw-value-proxy.hpp
index 2bb5ba8553284bb4027fc23877f279bca346791b..0c2543bdf9ed423c5d5c316c3b39d5a97eca8c71 100644 (file)
@@ -39,27 +39,6 @@ private:
     ObjT _mObj;
 };
 
-template <typename ObjT>
-class RawStringValueProxy final : public RawValueProxy<ObjT>
-{
-public:
-    explicit RawStringValueProxy(const ObjT obj) : RawValueProxy<ObjT> {obj}
-    {
-    }
-
-    RawStringValueProxy& operator=(const char * const rawVal)
-    {
-        RawValueProxy<ObjT>::operator=(bt2c::CStringView {rawVal});
-        return *this;
-    }
-
-    RawStringValueProxy& operator=(const std::string& rawVal)
-    {
-        RawValueProxy<ObjT>::operator=(bt2c::CStringView {rawVal.data()});
-        return *this;
-    }
-};
-
 } /* namespace bt2 */
 
 #endif /* BABELTRACE_CPP_COMMON_BT2_RAW_VALUE_PROXY_HPP */
This page took 0.024044 seconds and 4 git commands to generate.