[Solved] Static Variable in MyServiceImpl
Posted: Tue Jul 10, 2012 1:58 pm
Hello,
I would like to declare a variable as static in MyServiceImpl so it is shared across class instances. I tried
static Dataset *idx;
The class does compile without the static keyword but fails to compile with static keywork. Any ideas??
Thanks,
Saleem
I would like to declare a variable as static in MyServiceImpl so it is shared across class instances. I tried
static Dataset *idx;
The class does compile without the static keyword but fails to compile with static keywork. Any ideas??
Thanks,
Saleem