File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -91,8 +91,8 @@ LogManager& LogManager::get() {
9191 return result;
9292}
9393
94- void LogManager::set_global_resource_name (std::string name) {
95- sdk_logger_.channel (std::move ( name) );
94+ void LogManager::set_global_resource_name (const std::string& name) {
95+ sdk_logger_.channel (name);
9696 VIAM_SDK_LOG (debug) << " Overrode global resource name" ;
9797}
9898
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ class LogManager {
7070 static LogManager& get ();
7171
7272 // / @brief Override the channel name of general log messages not originating from resources.
73- void set_global_resource_name (std::string);
73+ void set_global_resource_name (const std::string& name );
7474
7575 // / @brief Set the global logger severity.
7676 void set_global_log_level (log_level);
You can’t perform that action at this time.
0 commit comments