summaryrefslogtreecommitdiff
path: root/src/support/archive.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/support/archive.h')
-rw-r--r--src/support/archive.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/support/archive.h b/src/support/archive.h
index 95af1ac94..0ca066ff1 100644
--- a/src/support/archive.h
+++ b/src/support/archive.h
@@ -71,7 +71,7 @@ class Archive {
Child child;
bool error = false; // TODO: use std::error_code instead?
public:
- child_iterator() {}
+ child_iterator() = default;
explicit child_iterator(bool error) : error(error) {}
child_iterator(const Child& c) : child(c) {}
const Child* operator->() const { return &child; }