summaryrefslogtreecommitdiff
path: root/shared/fileError.h
diff options
context:
space:
mode:
Diffstat (limited to 'shared/fileError.h')
-rw-r--r--shared/fileError.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/shared/fileError.h b/shared/fileError.h
index ac47dfed..210d1029 100644
--- a/shared/fileError.h
+++ b/shared/fileError.h
@@ -12,19 +12,21 @@
namespace FreeFileSync
{
-class FileError //Exception class used to notify file/directory copy/delete errors
+class FileError //Exception base class used to notify file/directory copy/delete errors
{
public:
FileError(const wxString& message) :
errorMessage(message) {}
+ virtual ~FileError() {}
+
const wxString& show() const
{
return errorMessage;
}
private:
- wxString errorMessage;
+ const wxString errorMessage;
};
}
bgstack15