added 'using PT::FileLog::init' to FileLog to suppress clang warning:
warning: 'Winix::FileLog::init' hides overloaded virtual function [-Woverloaded-virtual]
This commit is contained in:
parent
a4de11d69c
commit
3191369ece
|
@ -5,7 +5,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2018, Tomasz Sowa
|
* Copyright (c) 2018-2021, Tomasz Sowa
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -58,6 +58,10 @@ public:
|
||||||
|
|
||||||
void set_synchro(Synchro * synchro);
|
void set_synchro(Synchro * synchro);
|
||||||
|
|
||||||
|
// using PT::FileLog::init to suppress clang warning:
|
||||||
|
// warning: 'Winix::FileLog::init' hides overloaded virtual function [-Woverloaded-virtual]
|
||||||
|
using PT::FileLog::init;
|
||||||
|
|
||||||
void init(const std::wstring & log_file, bool log_stdout, int log_level, bool save_each_line, size_t log_time_zone_id);
|
void init(const std::wstring & log_file, bool log_stdout, int log_level, bool save_each_line, size_t log_time_zone_id);
|
||||||
|
|
||||||
void set_time_zones(TimeZones * time_zones);
|
void set_time_zones(TimeZones * time_zones);
|
||||||
|
|
Loading…
Reference in New Issue