summaryrefslogtreecommitdiffstats
path: root/tests/libsample/str.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libsample/str.h')
-rw-r--r--tests/libsample/str.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/libsample/str.h b/tests/libsample/str.h
index 31266753..52f46e6b 100644
--- a/tests/libsample/str.h
+++ b/tests/libsample/str.h
@@ -36,7 +36,9 @@
#define STR_H
#include <string>
-class Str
+#include "libsamplemacros.h"
+
+class LIBSAMPLE_API Str
{
public:
Str(const Str& s);
@@ -64,10 +66,10 @@ private:
void init(const char* cstr);
std::string m_str;
- friend Str operator+(int number, const Str& str);
+ friend LIBSAMPLE_API Str operator+(int number, const Str& str);
};
-Str operator+(int number, const Str& str);
+LIBSAMPLE_API Str operator+(int number, const Str& str);
#endif // STR_H