diff options
Diffstat (limited to 'libcxx/include/fstream')
-rw-r--r-- | libcxx/include/fstream | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libcxx/include/fstream b/libcxx/include/fstream index 1d7d221a886..0eae705b950 100644 --- a/libcxx/include/fstream +++ b/libcxx/include/fstream @@ -122,7 +122,7 @@ public: void close(); }; -template <class charT, class traits> +template <class charT, class traits> void swap(basic_ofstream<charT, traits>& x, basic_ofstream<charT, traits>& y); @@ -333,7 +333,7 @@ basic_filebuf<_CharT, _Traits>::operator=(basic_filebuf&& __rhs) swap(__rhs); } -#endif +#endif // _LIBCPP_MOVE template <class _CharT, class _Traits> basic_filebuf<_CharT, _Traits>::~basic_filebuf() @@ -341,14 +341,14 @@ basic_filebuf<_CharT, _Traits>::~basic_filebuf() #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif +#endif // _LIBCPP_NO_EXCEPTIONS close(); #ifndef _LIBCPP_NO_EXCEPTIONS } catch (...) { } -#endif +#endif // _LIBCPP_NO_EXCEPTIONS if (__owns_eb_) delete [] __extbuf_; if (__owns_ib_) @@ -1035,7 +1035,7 @@ basic_ifstream<_CharT, _Traits>::operator=(basic_ifstream&& __rhs) return *this; } -#endif +#endif // _LIBCPP_MOVE template <class _CharT, class _Traits> inline _LIBCPP_INLINE_VISIBILITY @@ -1180,7 +1180,7 @@ basic_ofstream<_CharT, _Traits>::operator=(basic_ofstream&& __rhs) return *this; } -#endif +#endif // _LIBCPP_MOVE template <class _CharT, class _Traits> inline _LIBCPP_INLINE_VISIBILITY @@ -1325,7 +1325,7 @@ basic_fstream<_CharT, _Traits>::operator=(basic_fstream&& __rhs) return *this; } -#endif +#endif // _LIBCPP_MOVE template <class _CharT, class _Traits> inline _LIBCPP_INLINE_VISIBILITY |