Commit 53168ba4 authored by Davis King's avatar Davis King

Fixed warning in gcc

parent e611d110
......@@ -145,7 +145,8 @@ namespace dlib
if (!fin)
throw logger_config_file_error("logger_config: unable to open config file " + file_name);
configure_loggers_from_file(config_reader(fin));
config_reader temp(fin);
configure_loggers_from_file(temp);
}
// ----------------------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment