summaryrefslogtreecommitdiff
path: root/src/base
diff options
context:
space:
mode:
Diffstat (limited to 'src/base')
-rw-r--r--src/base/types.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/base/types.hh b/src/base/types.hh
index 4caf92c97..7f4375048 100644
--- a/src/base/types.hh
+++ b/src/base/types.hh
@@ -89,6 +89,9 @@ class Cycles
/** Explicit constructor assigning a value. */
explicit Cycles(uint64_t _c) : c(_c) { }
+ /** Default constructor for parameter classes. */
+ Cycles() : c(0) { }
+
#ifndef SWIG // keep the operators away from SWIG
/** Converting back to the value type. */