summaryrefslogtreecommitdiff
path: root/VariableList.cc
diff options
context:
space:
mode:
authorNagi5Yeq <wu@x-nagi.com>2020-06-01 14:06:48 +0800
committerNagi5Yeq <wu@x-nagi.com>2020-06-01 14:06:48 +0800
commit31d35de96576d2cddc134cdd0646ce4966052ae3 (patch)
tree1df4283f87c57e8e1d9e22959f1c389b9f274d62 /VariableList.cc
parent1e993f800921d2a49ad0c71375512a9209347321 (diff)
disable formatv for LLVM release lacks of RTTI support
Diffstat (limited to 'VariableList.cc')
-rw-r--r--VariableList.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/VariableList.cc b/VariableList.cc
index e112bac..eef1205 100644
--- a/VariableList.cc
+++ b/VariableList.cc
@@ -19,7 +19,7 @@ Variable VariableList::FindVariable(const std::string& name) {
}
}
if (found == false) {
- Log(LogLevel::PCC_ERROR, "unknown identifier {0}", name);
+ Log(LogLevel::PCC_ERROR, "unknown identifier %s", name.c_str());
return {nullptr, nullptr};
}
return std::get<1>(*result);
@@ -43,7 +43,7 @@ std::shared_ptr<Type> VariableList::FindTypeAlias(const std::string& name) {
}
}
if (found == false) {
- Log(LogLevel::PCC_ERROR, "unknown type alias {0}", name);
+ Log(LogLevel::PCC_ERROR, "unknown type alias %s", name.c_str());
return nullptr;
}
return std::get<1>(*result);