Modernize: Use "default" for destructors and copy constructors (#751)

This commit is contained in:
Andy Maloney
2019-10-02 09:38:49 -04:00
committed by Jesse Beder
parent e6b3a92e67
commit a6ed66abca
15 changed files with 29 additions and 34 deletions

View File

@@ -21,7 +21,7 @@ ostream_wrapper::ostream_wrapper(std::ostream& stream)
m_col(0),
m_comment(false) {}
ostream_wrapper::~ostream_wrapper() {}
ostream_wrapper::~ostream_wrapper() = default;
void ostream_wrapper::write(const std::string& str) {
if (m_pStream) {