aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llcommon/llfile.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/llcommon/llfile.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/linden/indra/llcommon/llfile.h b/linden/indra/llcommon/llfile.h
index 2650775..d449ec9 100644
--- a/linden/indra/llcommon/llfile.h
+++ b/linden/indra/llcommon/llfile.h
@@ -127,7 +127,7 @@ public:
127 typedef std::basic_ios<char,std::char_traits < char > > _Myios; 127 typedef std::basic_ios<char,std::char_traits < char > > _Myios;
128 128
129 llofstream() 129 llofstream()
130 : std::basic_ostream<char,std::char_traits < char > >(NULL,true),_Filebuffer(NULL) 130 : std::basic_ostream<char,std::char_traits < char > >(NULL,true),_Filebuffer(NULL),_ShouldClose(false)
131 { // construct unopened 131 { // construct unopened
132 } 132 }
133 133
@@ -138,7 +138,8 @@ public:
138 138
139 explicit llofstream(_Filet *_File) 139 explicit llofstream(_Filet *_File)
140 : std::basic_ostream<char,std::char_traits < char > >(NULL,true), 140 : std::basic_ostream<char,std::char_traits < char > >(NULL,true),
141 _Filebuffer(new _Myfb(_File))//_File) 141 _Filebuffer(new _Myfb(_File)),//_File)
142 _ShouldClose(false)
142 { // construct with specified C stream 143 { // construct with specified C stream
143 } 144 }
144 145
@@ -157,6 +158,7 @@ public:
157 158
158private: 159private:
159 _Myfb *_Filebuffer; // the file buffer 160 _Myfb *_Filebuffer; // the file buffer
161 bool _ShouldClose;
160}; 162};
161 163
162 164