summaryrefslogtreecommitdiffstats
path: root/src/textstream.h
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2021-03-31 16:38:50 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2021-03-31 16:38:50 (GMT)
commit97415f7b4504d2be65338464731d7bbb4aa4d993 (patch)
treef65c6db950777a470f586c452bf6f1c7d8e3a7f7 /src/textstream.h
parentb2ead3a228cc44b8d3b67a4e71723f30031fa273 (diff)
downloadDoxygen-97415f7b4504d2be65338464731d7bbb4aa4d993.zip
Doxygen-97415f7b4504d2be65338464731d7bbb4aa4d993.tar.gz
Doxygen-97415f7b4504d2be65338464731d7bbb4aa4d993.tar.bz2
Regression: source code was not longer visible in HTML/LaTeX/docbook output
Diffstat (limited to 'src/textstream.h')
-rw-r--r--src/textstream.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/textstream.h b/src/textstream.h
index 37525ef..cee4cb7 100644
--- a/src/textstream.h
+++ b/src/textstream.h
@@ -57,6 +57,9 @@ class TextStream final
/** Writes any data that is buffered to the attached std::ostream */
~TextStream() { flush(); }
+ TextStream(const TextStream &) = delete;
+ TextStream &operator=(const TextStream &) = delete;
+
/** Sets or changes the std::ostream to write to.
* @note Any data already buffered will be flushed.
*/