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:
Tomasz Sowa 2021-02-17 18:06:00 +01:00
parent a4de11d69c
commit 3191369ece
1 changed files with 5 additions and 1 deletions

View File

@ -5,7 +5,7 @@
*/
/*
* Copyright (c) 2018, Tomasz Sowa
* Copyright (c) 2018-2021, Tomasz Sowa
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -58,6 +58,10 @@ public:
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 set_time_zones(TimeZones * time_zones);