File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ namespace vx {
115115 m_file.open ( m_filename, std::ofstream::out | std::ofstream::app );
116116 m_lastReopen = std::chrono::system_clock::now ();
117117 }
118- catch ( const std::exception & /* _exception*/ ) {
118+ catch ( [[maybe_unused]] const std::exception &_exception ) {
119119
120120 m_file.close ();
121121 throw ;
Original file line number Diff line number Diff line change 3333
3434namespace vx {
3535
36- Logger::Logger ( const std::unordered_map<std::string, std::string> & /* _configuration*/ ) {}
36+ Logger::Logger ( [[maybe_unused]] const std::unordered_map<std::string, std::string> &_configuration ) {}
3737
38- void Logger::log ( const std::string & /* _message*/ , const Severity /* _severity*/ ) { /* /dev/null logger */ }
38+ void Logger::log ( [[maybe_unused]] const std::string &_message, [[maybe_unused]] const Severity _severity ) { /* /dev/null logger */ }
3939
40- void Logger::log ( const std::string & /* _message*/ ) { /* /dev/null logger */ }
40+ void Logger::log ( [[maybe_unused]] const std::string &_message ) { /* /dev/null logger */ }
4141}
You can’t perform that action at this time.
0 commit comments