Skip to content
Snippets Groups Projects
Commit d119145a authored by Jan Trávníček's avatar Jan Trávníček
Browse files

common: avoid c cast by delegating to cast operator explicitly

parent acfe885f
No related branches found
No related tags found
1 merge request!179C casts to C++ casts redesign
......@@ -214,7 +214,7 @@ public:
* \returns string representation of the wrapped object
*/
explicit operator std::string ( ) const {
return ( std::string ) * m_data;
return m_data->operator std::string ( );
}
 
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment