diff --git a/persistent-data/run.h b/persistent-data/run.h index 5b4ed69..78db2a5 100644 --- a/persistent-data/run.h +++ b/persistent-data/run.h @@ -12,7 +12,19 @@ namespace base { public: typedef boost::optional maybe; - explicit run(maybe begin = maybe(), maybe end = maybe()) + run() { + } + + explicit run(T const &b) + : begin_(b) { + } + + run(T const &b, T const &e) + : begin_(b), + end_(e) { + } + + explicit run(maybe begin, maybe end) : begin_(begin), end_(end) { }