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>
|
||||
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;
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue