mirror of
https://github.com/izzy2lost/Torch.git
synced 2026-07-06 00:18:35 -07:00
Update Companion.cpp
This commit is contained in:
+1
-1
@@ -115,7 +115,7 @@ static std::string ConvertType(std::string type) {
|
||||
return type;
|
||||
}
|
||||
|
||||
static std::string GetTypeNode(const YAML::Node& node) {
|
||||
static std::string GetTypeNode(YAML::Node& node) {
|
||||
auto type = GetSafeNode<std::string>(node, "type");
|
||||
std::transform(type.begin(), type.end(), type.begin(), toupper);
|
||||
return type;
|
||||
|
||||
Reference in New Issue
Block a user