core: drop 'operator << (ostream, String)' overload
authorAlexander Alekhin <alexander.alekhin@intel.com>
Wed, 15 May 2019 11:00:02 +0000 (14:00 +0300)
committerAlexander Alekhin <alexander.alekhin@intel.com>
Wed, 15 May 2019 11:00:02 +0000 (14:00 +0300)
'cv::String' is 'std::string' in OpenCV 4.x

modules/core/include/opencv2/core/cvstd.inl.hpp

index f158c3b..4a85bfd 100644 (file)
@@ -74,12 +74,6 @@ public:
 };
 
 static inline
-std::ostream& operator << (std::ostream& os, const String& str)
-{
-    return os << str.c_str();
-}
-
-static inline
 std::ostream& operator << (std::ostream& out, Ptr<Formatted> fmtd)
 {
     fmtd->reset();