cppcheck 2.11 claims that in the following snippet:
std::istream& operator>>(std::istream& aStream, TimeBase& aT) { return aStream >> aT.theTime; }
aT can be declared as const, ofc this is not true.
Thanks for reporting, ticket is here; https://trac.cppcheck.net/ticket/11818
Log in to post a comment.
cppcheck 2.11 claims that in the following snippet:
aT can be declared as const, ofc this is not true.
Thanks for reporting, ticket is here; https://trac.cppcheck.net/ticket/11818