[ox/std] Make NullStream constructor noexcept

This commit is contained in:
Gary Talent 2021-06-03 02:01:58 -05:00
parent 3ba88e2e27
commit 77ac48740a

View File

@ -226,16 +226,16 @@ class NullStream {
} }
#else #else
template<std::size_t fmtSegmentCnt, typename ...Args> template<std::size_t fmtSegmentCnt, typename ...Args>
constexpr NullStream(const char*, int, const char*, detail::Fmt<fmtSegmentCnt>, Args...) { constexpr NullStream(const char*, int, const char*, detail::Fmt<fmtSegmentCnt>, Args...) noexcept {
} }
#endif #endif
template<typename T> template<typename T>
constexpr NullStream &operator<<(const T&) noexcept { constexpr const NullStream &operator<<(const T&) const noexcept {
return *this; return *this;
} }
constexpr NullStream &del(const char*) noexcept { constexpr const NullStream &del(const char*) const noexcept {
return *this; return *this;
} }