Skip to content

Commit

Permalink
Merge pull request #248 from egorpugin/patch-1
Browse files Browse the repository at this point in the history
Fix incorrect operator<<() argument type that gives build error.
  • Loading branch information
ToruNiina authored Jun 19, 2024
2 parents 7149b3c + a32289d commit 6ba0772
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/toml11/fwd/comments_fwd.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ inline bool operator>=(const discard_comments&, const discard_comments&) noexcep

inline void swap(const discard_comments&, const discard_comments&) noexcept {return;}

inline std::ostream& operator<<(std::ostream&& os, const discard_comments&) {return os;}
inline std::ostream& operator<<(std::ostream& os, const discard_comments&) {return os;}

} // toml11
#endif // TOML11_COMMENTS_FWD_HPP

0 comments on commit 6ba0772

Please sign in to comment.