[DEV] correction of the loading file

This commit is contained in:
Edouard DUPIN 2013-11-14 21:09:18 +01:00
parent 666605419c
commit 564ec3130f

View File

@ -82,8 +82,7 @@ bool ejson::Document::load(const std::string& _file) {
// close the file:
tmpFile.fileClose();
// convert in UTF8 :
std::string tmpDataUnicode(fileBuffer, unicode::charsetUTF8);
std::string tmpDataUnicode(fileBuffer);
// remove temporary buffer:
delete(fileBuffer);
// parse the data :