fixed compilation for evc4 and vc7
svn-id: r18013
This commit is contained in:
parent
39cb499fcf
commit
c1ce66efb6
2 changed files with 6 additions and 2 deletions
|
@ -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;
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue