<span style="background-color:rgb(255,255,255)">I would like to use the override keyword<br>I added to my root CMakeLists.txt file <br>SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x") (I am using gcc 4.6)<br>
<br>However I am still getting an error i.e:<br>
</span><style type="text/css">
p, li { white-space: pre-wrap; }
</style><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="background-color:rgb(255,255,255)">error: ‘override’ does not name a type</span></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">
<span style="background-color:rgb(255,255,255)">for the following declaration</span></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="background-color:rgb(255,255,255)">void getRT(std::vector<double> & rt) const override;<br>
</span></p><span style="background-color:rgb(255,255,255)"><br><span style></span><br><br>regards<br clear="all"><br>-- <br>Witold Eryk Wolski<br><br>Triemlistrasse 155<br>8047 Zuerich
</span>