From b8f9076de0a77037557d40c7486caf098a3ca198 Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Wed, 15 May 2019 14:00:02 +0300 Subject: [PATCH] core: drop 'operator << (ostream, String)' overload 'cv::String' is 'std::string' in OpenCV 4.x --- modules/core/include/opencv2/core/cvstd.inl.hpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/modules/core/include/opencv2/core/cvstd.inl.hpp b/modules/core/include/opencv2/core/cvstd.inl.hpp index f158c3b..4a85bfd 100644 --- a/modules/core/include/opencv2/core/cvstd.inl.hpp +++ b/modules/core/include/opencv2/core/cvstd.inl.hpp @@ -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 fmtd) { fmtd->reset(); -- 2.7.4