| 103 | }; |
| 104 | |
| 105 | inline string BuildErrorString(string statement, string file, int line) { |
| 106 | string line_str = std::to_string(line); |
| 107 | string error = "[" + std::move(file) + ":" + std::move(line_str) + |
| 108 | "]: Assert on \"" + std::move(statement) + |
| 109 | "\" failed"; |
| 110 | return error; |
| 111 | } |
| 112 | |
| 113 | #if DALI_USE_STACKTRACE |
| 114 | inline void ltrim(std::string *s) { |
nothing calls this directly
no test coverage detected