S
Subrat
Hello,
I am getting complation warning saying,
warning : returning reference to temporary.
The code from which it is coming:
vector<bool> a_oObj;
This vector is filled with all boolean values
Then when I want to check a condition on this
for loop
int i = 0;
if(obj == true) //warning comes here
Thanks in Advance,
Subrat
I am getting complation warning saying,
warning : returning reference to temporary.
The code from which it is coming:
vector<bool> a_oObj;
This vector is filled with all boolean values
Then when I want to check a condition on this
for loop
int i = 0;
if(obj == true) //warning comes here
Thanks in Advance,
Subrat