aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-08-31 10:22:32 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2010-08-31 11:01:29 -0300
commit821885b67d27844c0ecfe9ef7b753e640e96eb6c (patch)
tree63fc806b1334a40965453117e8f50d13eeca5a7b
parentf942fd1bfa1f0c9ec38775f0c5224dd89002d2aa (diff)
Fix linker problems on MSVC.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Araujo <renato.araujo@openbossa.org>
-rw-r--r--tests/libsample/list.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/libsample/list.h b/tests/libsample/list.h
index f211e6a79..c620c5f81 100644
--- a/tests/libsample/list.h
+++ b/tests/libsample/list.h
@@ -39,14 +39,14 @@
#include "libsamplemacros.h"
template<class T>
-class LIBSAMPLE_API List : public std::list<T>
+class List : public std::list<T>
{
};
-class LIBSAMPLE_API IntList : public List<int>
+class IntList : public List<int>
{
- public:
- void append(int v) { insert(end(), v); }
+public:
+ inline void append(int v) { insert(end(), v); }
};
#endif // LIST_H