you are initializing the object with To compile your code as C++0x code, just add the following flag when compiling:{...}
instead of (...)
:StatsScreen ss{...}; // only available in C++0x
StatsScreen ss(...); // OK in C++98g++ test.cpp -std=c++0x
No comments:
Post a Comment