summaryrefslogtreecommitdiff
path: root/lib/db_file.cpp
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:20:07 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:20:07 +0200
commit88a8b528e20013c0aa3cc6bcd9659b0b5ddd9170 (patch)
treec6c5babb49b90293380106b81ae5c446959ac70f /lib/db_file.cpp
parent5.3 (diff)
downloadFreeFileSync-88a8b528e20013c0aa3cc6bcd9659b0b5ddd9170.tar.gz
FreeFileSync-88a8b528e20013c0aa3cc6bcd9659b0b5ddd9170.tar.bz2
FreeFileSync-88a8b528e20013c0aa3cc6bcd9659b0b5ddd9170.zip
5.4
Diffstat (limited to 'lib/db_file.cpp')
-rw-r--r--lib/db_file.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/db_file.cpp b/lib/db_file.cpp
index 1bc75d82..33c83a0e 100644
--- a/lib/db_file.cpp
+++ b/lib/db_file.cpp
@@ -15,7 +15,7 @@
#include <zen/file_io.h>
#include <zen/scope_guard.h>
#include <zen/guid.h>
-#include <zen/utf8.h>
+#include <zen/utf.h>
#ifdef FFS_WIN
#include <zen/win.h> //includes "windows.h"
@@ -128,7 +128,7 @@ StreamMapping loadStreams(const Zstring& filename) //throw FileError
}
catch (const std::bad_alloc& e)
{
- throw FileError(_("Out of memory!") + L" " + utf8CvrtTo<std::wstring>(e.what()));
+ throw FileError(_("Out of memory!") + L" " + utfCvrtTo<std::wstring>(e.what()));
}
}
@@ -148,7 +148,7 @@ public:
}
catch (const std::bad_alloc& e)
{
- throw FileError(_("Out of memory!") + L" " + utf8CvrtTo<std::wstring>(e.what()));
+ throw FileError(_("Out of memory!") + L" " + utfCvrtTo<std::wstring>(e.what()));
}
}
@@ -160,7 +160,7 @@ private:
Zstring readStringUtf8() const
{
- return utf8CvrtTo<Zstring>(readString<Zbase<char>>());
+ return utfCvrtTo<Zstring>(readString<Zbase<char>>());
}
FileId readFileId() const
@@ -280,7 +280,7 @@ private:
writePOD<bool>(false); //mark last entry
}
- void writeStringUtf8(const Zstring& str) { writeString(utf8CvrtTo<Zbase<char>>(str)); }
+ void writeStringUtf8(const Zstring& str) { writeString(utfCvrtTo<Zbase<char>>(str)); }
void writeFileId(const FileId& id)
{
bgstack15