diff options
author | Brodie Thiesfield <brofield@gmail.com> | 2011-03-17 07:52:28 +0300 |
---|---|---|
committer | Brodie Thiesfield <brofield@gmail.com> | 2011-03-17 07:52:28 +0300 |
commit | eeb30e8f452de6c71f60a407a03f7f7117efb4f3 (patch) | |
tree | 92f201e3e0d06281e36e4a4530424b5f485ddf3d /test1.cpp | |
parent | 651fb0c58958644d1140e850b767f63ebb65264f (diff) |
prepare for 4.14 release
* change Load() to LoadData() to avoid confusion
* add support for GetDoubleValue/SetDoubleValue
Diffstat (limited to 'test1.cpp')
-rw-r--r-- | test1.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -128,10 +128,10 @@ bool TestStreams() // load the file try { - std::ifstream infile; - infile.open(rgszTestFile[0], std::ifstream::in | std::ifstream::binary); - if (ini.Load(infile) < 0) throw false; - infile.close(); + std::ifstream instream; + instream.open(rgszTestFile[0], std::ifstream::in | std::ifstream::binary); + if (ini.LoadData(instream) < 0) throw false; + instream.close(); } catch (...) { return oTest.Failure("Failed to load file"); |