hey guys, i'm getting this error from my .h file:
in-class initialization of static data member of non-integral type 'static const string'
here is a part of the code:
#include <string>
..
..
class Class{
static const string mystring = " xox ";
..
..
}
thanks in advance
in-class initialization of static data member of non-integral type 'static const string'
here is a part of the code:
#include <string>
..
..
class Class{
static const string mystring = " xox ";
..
..
}
thanks in advance