Basically anything like std::map<int, std::wstring> errorText; seems to be triggering this. I'm using cppcheck 2.10.3 (as provided by codacy)
Thank you!
Sorry, not been able to check for a couple of days. I'm using cppcheck 2.10.3 (as provided by codacy) Looks like the previous poster is having the same problems as I am, and I omitted to include the :: in my original example, so throw ::mynamespace::exceptionobject("message"); would be a better example. Possibly if (cond) { throw ::mynamespace::exceptionobject("message"); } might be necessary. Although having seen the prior post, does look like I needed the :: at the start
Sorry, not been able to check for a couple of days. I'm using cppcheck 2.10.3 (as provided by codacy) I'm not sure how to provide any more detailed code than throw ::mynamespace::exceptionobject("message"); as an example. Possibly if (cond) { throw ::mynamespace::exceptionobject("message"); } might be necessary.
Sorry, not been able to check for a couple of days. I'm using cppcheck 2.10.3 (as provided by codacy) I'm not sure how to provide any more detailed code than throw ::mynamespace::exceptionobject("message"); as an example. Possibly if (cond) { throw ::mynamespace::exceptionobject("message"); } might be necessary.
Sorry, not been able to check for a couple of days. I'm using cppcheck 2.10.3 (as provided by codacy) I'm not sure how to provide any more detailed code than throw ::mynamespace::exceptionobject("message"); as an example. Possibly if (cond) { throw ::mynamespace::exceptionobject("message"); } might be necessary.
Sorry, not been able to check for a couple of days. I'm using cppcheck 2.10.3 (as provided by codacy) I'm not sure how to provide any more detailed code than throw ::mynamespace::exceptionobject("message"); as an example. Possibly if (cond) { throw ::mynamespace::exceptionobject("message"); } might be necessary (not sure how to get the newlines in on that. braces are on their own lines in the code).
Sorry, not been able to check for a couple of days. I'm using cppcheck 2.10.3 (as provided by codacy) I'm not sure how to provide any more detailed code than throw mynamespace::exceptionobject("message"); as an example. Possibly if (cond) { throw mynamespace::exceptionobject("message"); } might be necessary (not sure how to get the newlines in on that. braces are on their own lines in the code).