[LyX/master] Move <fstream> from support/gzstream.h

Pavel Sanda sanda at lyx.org
Wed Oct 14 12:45:24 UTC 2020


commit c0f930930062858a7414c18705b967eb136201b3
Author: Pavel Sanda <sanda at lyx.org>
Date:   Wed Oct 14 15:12:48 2020 +0200

    Move <fstream> from support/gzstream.h
---
 src/Lexer.cpp          |    1 +
 src/support/gzstream.h |    1 -
 2 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/Lexer.cpp b/src/Lexer.cpp
index c290260..2711db4 100644
--- a/src/Lexer.cpp
+++ b/src/Lexer.cpp
@@ -27,6 +27,7 @@
 #include "support/types.h"
 
 #include <functional>
+#include <fstream>
 #include <istream>
 #include <stack>
 #include <vector>
diff --git a/src/support/gzstream.h b/src/support/gzstream.h
index b40e8a1..7561162 100644
--- a/src/support/gzstream.h
+++ b/src/support/gzstream.h
@@ -31,7 +31,6 @@
 
 // standard C++ with new header file names and std:: namespace
 #include <iostream>
-#include <fstream>
 #include <zlib.h>
 
 // For LyX


More information about the lyx-cvs mailing list