Fixed warning in gcc

This commit is contained in:
Davis King 2015-02-14 18:12:50 -05:00
parent e611d11004
commit 53168ba43f
1 changed files with 2 additions and 1 deletions

View File

@ -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);
}
// ----------------------------------------------------------------------------------------