fixed compilation for evc4 and vc7

svn-id: r18013
This commit is contained in:
Paweł Kołodziejski 2005-05-09 22:39:16 +00:00
parent 39cb499fcf
commit c1ce66efb6
2 changed files with 6 additions and 2 deletions

View file

@ -33,6 +33,10 @@ namespace Common {
template <class T> template <class T>
class List { class List {
protected: protected:
#if defined (_WIN32_WCE) || (_MSC_VER)
//FIXME evc4 and msvc7 doesn't like it as protected member
public:
#endif
struct NodeBase { struct NodeBase {
NodeBase *_prev; NodeBase *_prev;
NodeBase *_next; NodeBase *_next;

View file

@ -45,8 +45,8 @@ private:
* and you specialise makeInstance to return an instance of a subclass. * and you specialise makeInstance to return an instance of a subclass.
*/ */
//template <class T> //template <class T>
#ifdef _WIN32_WCE #if defined (_WIN32_WCE) || (_MSC_VER)
//FIXME //FIXME evc4 and msvc7 doesn't like it as private member
public: public:
#endif #endif
static T* makeInstance() { static T* makeInstance() {