| 282 | } |
| 283 | |
| 284 | void errorWorker(const std::string& message, const int line, const std::string& function, const std::string& file) |
| 285 | { |
| 286 | // If we are 100% sure that we are in main thread, then normal error. |
| 287 | // Otherwise, worker error |
| 288 | errorAux((getIfInMainThreadOrEmpty() ? 0 : 1), message, line, function, file); |
| 289 | } |
| 290 | |
| 291 | void errorDestructor(const std::string& message, const int line, const std::string& function, const std::string& file) |
| 292 | { |
nothing calls this directly
no test coverage detected