update tracy to v0.9 and adopt

This commit is contained in:
2022-10-27 16:36:40 +02:00
parent cc40740cf1
commit 5004e30e18
6 changed files with 17 additions and 17 deletions

View File

@ -35,7 +35,7 @@ class tracy_sink : public ::spdlog::sinks::base_sink <Mutex> {
spdlog::memory_buf_t formatted;
base_sink<Mutex>::formatter_->format(msg, formatted);
auto string = fmt::to_string(formatted);
TracyMessageC(string.data(), string.size(), level_to_color(msg.level))
TracyMessageC(string.data(), string.size(), level_to_color(msg.level));
}
void flush_() override {