From 821885b67d27844c0ecfe9ef7b753e640e96eb6c Mon Sep 17 00:00:00 2001 From: Hugo Parente Lima Date: Tue, 31 Aug 2010 10:22:32 -0300 Subject: Fix linker problems on MSVC. Reviewer: Luciano Wolf Renato Araujo --- tests/libsample/list.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests') 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 LIBSAMPLE_API List : public std::list +class List : public std::list { }; -class LIBSAMPLE_API IntList : public List +class IntList : public List { - public: - void append(int v) { insert(end(), v); } +public: + inline void append(int v) { insert(end(), v); } }; #endif // LIST_H -- cgit v1.2.3