summaryrefslogtreecommitdiff
path: root/src/local_time.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-06-02 10:28:16 +0100
committerCarl Hetherington <cth@carlh.net>2016-06-02 10:28:16 +0100
commit5591a50b918d2dc784a9e15688dfe24eb2b6dfcc (patch)
tree0cc8e92c88326bd023440956a839f72979322071 /src/local_time.h
parent68fa6e44a938d963129db758c25af8e843771a85 (diff)
Add some explicit declarations to constructors.
Diffstat (limited to 'src/local_time.h')
-rw-r--r--src/local_time.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/local_time.h b/src/local_time.h
index b298268e..9407aeed 100644
--- a/src/local_time.h
+++ b/src/local_time.h
@@ -44,9 +44,9 @@ class LocalTime
{
public:
LocalTime ();
- LocalTime (boost::posix_time::ptime);
+ explicit LocalTime (boost::posix_time::ptime);
LocalTime (boost::posix_time::ptime, int tz_hour, int tz_minute);
- LocalTime (std::string);
+ explicit LocalTime (std::string);
std::string as_string (bool with_millisecond = false) const;
std::string date () const;