Skip to content

Commit

Permalink
fix styles
Browse files Browse the repository at this point in the history
  • Loading branch information
cwharris committed Sep 18, 2024
1 parent 2c2d0d7 commit d62a56e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions cpp/mrc/src/internal/utils/contains.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ template <typename C>
class KeyIterator
{
public:
using iterator_category = std::bidirectional_iterator_tag;
using iterator_category = std::bidirectional_iterator_tag; // NOLINT(readability-identifier-naming)
using value_type = C::key_type;
using difference_type = C::difference_type;
using pointer = C::pointer;
using reference = C::reference;
using pointer = C::pointer; // NOLINT(readability-identifier-naming)
using reference = C::reference; // NOLINT(readability-identifier-naming)

KeyIterator() = default;
explicit KeyIterator(typename C::const_iterator it) : m_iter(it) {}
Expand Down
3 changes: 2 additions & 1 deletion python/mrc/_pymrc/src/logging.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ void log(const std::string& msg, int py_level, const std::string& filename, int
LOG(WARNING) << "Log called prior to calling init_logging, initialized with defaults";
}

google::LogMessage(filename.c_str(), line, static_cast<google::LogSeverity>(py_level_to_mrc(py_level))).stream() << msg;
google::LogMessage(filename.c_str(), line, static_cast<google::LogSeverity>(py_level_to_mrc(py_level))).stream()
<< msg;
}

} // namespace mrc::pymrc

0 comments on commit d62a56e

Please sign in to comment.