src/types.h

changeset 403
43c1f5b17bfd
parent 402
ec95fc95e5f3
child 421
7d26db0be944
--- a/src/types.h	Tue Jul 30 07:38:08 2013 +0300
+++ b/src/types.h	Tue Jul 30 16:17:16 2013 +0300
@@ -408,7 +408,7 @@
 // A file interface with simple interface and support for range-for-loops.
 // =============================================================================
 class File {
-public:
+private:
 	// Iterator class to enable range-for-loop support. Rough hack.. don't use directly!
 	class iterator {
 	public:
@@ -424,7 +424,8 @@
 		str m_text;
 		bool m_gotdata = false;
 	};
-	
+
+public:
 	enum OpenType {
 		Read,
 		Write,

mercurial