summaryrefslogtreecommitdiffstats
path: root/tests/libsample/list.h
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 /tests/libsample/list.h
parentf942fd1bfa1f0c9ec38775f0c5224dd89002d2aa (diff)
downloadshiboken-821885b67d27844c0ecfe9ef7b753e640e96eb6c.tar.gz
shiboken-821885b67d27844c0ecfe9ef7b753e640e96eb6c.tar.xz
shiboken-821885b67d27844c0ecfe9ef7b753e640e96eb6c.zip
Fix linker problems on MSVC.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Araujo <renato.araujo@openbossa.org>
Diffstat (limited to 'tests/libsample/list.h')
-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 f211e6a7..c620c5f8 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