summaryrefslogtreecommitdiff
path: root/shared/serialize.cpp
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:12:46 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:12:46 +0200
commitb338e29fd3eaf700f8c8360aa0310048ba941d54 (patch)
tree122f8ef3790d12cd10275ef7453a9e8053322d78 /shared/serialize.cpp
parent3.18 (diff)
downloadFreeFileSync-b338e29fd3eaf700f8c8360aa0310048ba941d54.tar.gz
FreeFileSync-b338e29fd3eaf700f8c8360aa0310048ba941d54.tar.bz2
FreeFileSync-b338e29fd3eaf700f8c8360aa0310048ba941d54.zip
3.19
Diffstat (limited to 'shared/serialize.cpp')
-rw-r--r--shared/serialize.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/shared/serialize.cpp b/shared/serialize.cpp
index 634b830b..c2da1202 100644
--- a/shared/serialize.cpp
+++ b/shared/serialize.cpp
@@ -12,8 +12,7 @@ using namespace zen;
void ReadInputStream::throwReadError() const //throw (FileError)
{
- throw zen::FileError(wxString(_("Error reading from synchronization database:")) + wxT(" \n") +
- wxT("\"") + errorObjName_ + wxT("\""));
+ throw zen::FileError(_("Error reading from synchronization database:") + " \n" + "\"" + errorObjName_.c_str() + "\"");
}
@@ -35,8 +34,7 @@ ReadInputStream::CharArray ReadInputStream::readArrayC() const
//--------------------------------------------------------------------------------------------------------
void WriteOutputStream::throwWriteError() const //throw (FileError)
{
- throw zen::FileError(wxString(_("Error writing to synchronization database:")) + wxT(" \n") +
- wxT("\"") + errorObjName_ + wxT("\""));
+ throw zen::FileError(_("Error writing to synchronization database:") + " \n" + "\"" + errorObjName_.c_str() + "\"");
}
bgstack15