aboutsummaryrefslogtreecommitdiff
path: root/src/restore.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/restore.h')
-rw-r--r--src/restore.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/restore.h b/src/restore.h
index 0ea9549..4aee092 100644
--- a/src/restore.h
+++ b/src/restore.h
@@ -27,15 +27,13 @@
#ifndef RESTORE_H
#define RESTORE_H
+#include "exception.h"
#include "options.h"
-class RestoreError : public std::runtime_error
+class RestoreError : public DiffddError
{
public:
- explicit RestoreError(const std::string &message)
- : std::runtime_error(message)
- {
- }
+ explicit RestoreError(const std::string &message) : DiffddError(message) {}
};
void restore(const OptionsRestore &opts);