Windows: Trivial fix for initorder.C.
This commit is contained in:
parent
8d6377f3a7
commit
3bde3e4404
@ -26,8 +26,8 @@ public:
|
||||
int get() { return *I; }
|
||||
~RAII() { delete I; printf("~RAII%d\n", InstanceCount--); }
|
||||
private:
|
||||
RAII(RAII&) {throw;};
|
||||
RAII& operator=(RAII) {throw;}
|
||||
RAII(RAII&);
|
||||
RAII& operator=(RAII);
|
||||
int* I;
|
||||
static int InstanceCount; // will notice object copy
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user