We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a94dd5d commit ac41478Copy full SHA for ac41478
2 files changed
src/odr/internal/common/path.cpp
@@ -411,10 +411,6 @@ RelPath RelPath::common_root(const RelPath &other) const {
411
412
} // namespace odr::internal
413
414
-std::ostream &odr::internal::operator<<(std::ostream &os, const Path &p) {
415
- return os << p.m_path;
416
-}
417
-
418
std::size_t std::hash<::odr::internal::Path>::operator()(
419
const ::odr::internal::Path &p) const {
420
return p.hash();
src/odr/internal/common/path.hpp
@@ -92,7 +92,9 @@ class Path {
92
std::uint32_t m_downwards;
93
bool m_absolute;
94
95
- friend std::ostream &operator<<(std::ostream &, const Path &);
+ friend std::ostream &operator<<(std::ostream &os, const Path &p) {
96
+ return os << p.m_path;
97
+ }
98
99
void parent_();
100
void join_(const std::string &);
0 commit comments