diff options
Diffstat (limited to 'libcxx/include/ostream')
| -rw-r--r-- | libcxx/include/ostream | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libcxx/include/ostream b/libcxx/include/ostream index 98f36ea7acc1..d948d591c8f0 100644 --- a/libcxx/include/ostream +++ b/libcxx/include/ostream @@ -249,12 +249,11 @@ class _LIBCPP_TEMPLATE_VIS basic_ostream<_CharT, _Traits>::sentry bool __ok_; basic_ostream<_CharT, _Traits>& __os_; - sentry(const sentry&); // = delete; - sentry& operator=(const sentry&); // = delete; - public: explicit sentry(basic_ostream<_CharT, _Traits>& __os); ~sentry(); + sentry(const sentry&) = delete; + sentry& operator=(const sentry&) = delete; _LIBCPP_INLINE_VISIBILITY explicit operator bool() const {return __ok_;} |
