-
compile error
Hello,
With the following code:
Code:
auto it = std::find_if(rLTENodes.begin(), rLTENodes.end(), [&cm=strCentralSite](const const MultiTechNode * m)->bool {return cm == m->GetID();});
Im getting the error;
same type qualifier used more than once
could you please help me with this please
thanks a lot
pdk
-
Re: compile error
Would reformatting your code help you to spot the error?
-
Re: compile error
-
Re: compile error
Quote:
Originally Posted by
2kaud
const const??
Yes kaud :) thanks a lot . I found out soon after posting, but forgot to update the thread. Sorry for posting such thing here, it has been quite busy, . Very sorry about it. And thanks a lot