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>
class List {
protected:
#if defined (_WIN32_WCE) || (_MSC_VER)
//FIXME evc4 and msvc7 doesn't like it as protected member
public:
#endif
struct NodeBase {
NodeBase *_prev;
NodeBase *_next;

View file

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