File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ std::string global_resource_name() {
6767 return " Viam C++ SDK" ;
6868}
6969
70- bool Logger::Filter::operator ()(const boost::log::attribute_value_set& attrs) {
70+ bool Logger::Filter::operator ()(const boost::log::attribute_value_set& attrs) const {
7171 auto sev = attrs[attr_sev_type{}];
7272 if (!sev) {
7373 return false ;
Original file line number Diff line number Diff line change @@ -58,9 +58,9 @@ std::string global_resource_name();
5858class Logger {
5959 public:
6060 struct Filter {
61- Logger* parent;
61+ const Logger* parent;
6262
63- bool operator ()(const boost::log::attribute_value_set&);
63+ bool operator ()(const boost::log::attribute_value_set&) const ;
6464 };
6565
6666 // / @brief Returns the unique logger instance.
You can’t perform that action at this time.
0 commit comments