12-26-2011, 03:34 AM
With your change I got this warning
cfluidsimulator.cpp(76): warning C4355: 'this' : used in base member initializer list
http://stackoverflow.com/questions/35094...nitializer
It's dangerous. You can fix it by simply removing the initialization of m_Data from the intializer, and putting it in the constructor. Just use m_Data(0) in the intializer.
cfluidsimulator.cpp(76): warning C4355: 'this' : used in base member initializer list
http://stackoverflow.com/questions/35094...nitializer
It's dangerous. You can fix it by simply removing the initialization of m_Data from the intializer, and putting it in the constructor. Just use m_Data(0) in the intializer.