Made FileNode::operator string inline

This commit is contained in:
Maksim Shabunin
2018-11-27 11:47:23 +03:00
parent 51cc78b2a2
commit 9de63c1edd
2 changed files with 4 additions and 6 deletions
@@ -565,7 +565,7 @@ public:
//! returns the node content as double
operator double() const;
//! returns the node content as text string
operator std::string() const;
inline operator std::string() const { return this->string(); }
static bool isMap(int flags);
static bool isSeq(int flags);
@@ -599,7 +599,7 @@ public:
//! Simplified reading API to use with bindings.
CV_WRAP double real() const;
//! Simplified reading API to use with bindings.
CV_WRAP String string() const;
CV_WRAP std::string string() const;
//! Simplified reading API to use with bindings.
CV_WRAP Mat mat() const;