Commit 7ab73229 authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

Merge pull request #3848 from yxiong:fix-4125

parents daa99514 decbdd1a
......@@ -1040,9 +1040,11 @@ static inline bool operator>= (const String& lhs, const char* rhs) { return lh
#ifndef OPENCV_NOSTL_TRANSITIONAL
namespace std
{
static inline void swap(cv::String& a, cv::String& b) { a.swap(b); }
}
#else
namespace cv
#endif
{
template<> inline
void swap<cv::String>(cv::String& a, cv::String& b)
......@@ -1050,6 +1052,7 @@ namespace cv
a.swap(b);
}
}
#endif
#include "opencv2/core/ptr.inl.hpp"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment