mirror of
https://github.com/zhenyan121/Cubed.git
synced 2026-06-17 16:17:02 +08:00
chore: add .clangd configuration
This commit is contained in:
@@ -14,7 +14,7 @@ const std::string& MapTable::get_name_from_id(unsigned id) {
|
||||
ASSERT_MSG(it != id_to_name_map.end(), "Id: " + std::to_string(id) + " is not exist");
|
||||
return it->second;
|
||||
}
|
||||
const unsigned MapTable::get_id_from_name(const std::string& name) {
|
||||
unsigned MapTable::get_id_from_name(const std::string& name) {
|
||||
auto it = name_to_id_map.find(HASH::str(name));
|
||||
ASSERT_MSG(it != name_to_id_map.end(), "Name " + name + " is not exist");
|
||||
return it->second;
|
||||
|
||||
Reference in New Issue
Block a user