aboutsummaryrefslogtreecommitdiffstats
path: root/tests/libsample/objecttypeoperators.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libsample/objecttypeoperators.h')
-rw-r--r--tests/libsample/objecttypeoperators.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/libsample/objecttypeoperators.h b/tests/libsample/objecttypeoperators.h
index 1d65eb167..9c1a85dc7 100644
--- a/tests/libsample/objecttypeoperators.h
+++ b/tests/libsample/objecttypeoperators.h
@@ -29,10 +29,9 @@
class LIBSAMPLE_API ObjectTypeOperators
{
public:
- ObjectTypeOperators(const std::string key);
+ explicit ObjectTypeOperators(const std::string key);
bool operator==(const ObjectTypeOperators& other) const;
- bool operator==(const std::string& other) const;
const ObjectTypeOperators& operator<(const ObjectTypeOperators& other) const;
// chaos!
@@ -47,4 +46,9 @@ private:
ObjectTypeOperators& operator=(ObjectTypeOperators&);
};
+LIBSAMPLE_API bool operator==(const ObjectTypeOperators* obj, const std::string& str);
+LIBSAMPLE_API bool operator==(const std::string& str, const ObjectTypeOperators* obj);
+LIBSAMPLE_API std::string operator+(const ObjectTypeOperators* obj, const std::string& str);
+LIBSAMPLE_API std::string operator+(const std::string& str, const ObjectTypeOperators* obj);
+
#endif // OBJECTTYPEOPERATORS_H