Skip to content

Commit

Permalink
[checkpoint] woops, forgot the static modifier on map
Browse files Browse the repository at this point in the history
  • Loading branch information
mbs-octoml committed Sep 18, 2021
1 parent 889a84e commit 32881f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/logging.cc
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ std::unordered_map<std::string, int> ParseTvmLogDebugSpec(const char* opt_spec)

const std::unordered_map<std::string, int>& TvmLogDebugSpec() {
// Parse and cache the verbosity level map.
const auto* map =
static const auto* map =
new std::unordered_map<std::string, int>(ParseTvmLogDebugSpec(std::getenv("TVM_LOG_DEBUG")));
return *map;
}
Expand Down

0 comments on commit 32881f6

Please sign in to comment.