commit | 9b845359f9fae1105472ed891e33f801303c8b2f | [log] [tgz] |
---|---|---|
author | Junxiao Shi <git@mail1.yoursunny.com> | Mon Jul 24 05:04:56 2017 +0000 |
committer | Junxiao Shi <git@mail1.yoursunny.com> | Mon Jul 24 05:04:56 2017 +0000 |
tree | c8101d3932aa4fbfb9d64247586437a0db4a3f11 | |
parent | 81206d580db91d1bf09d792555f72a5881c00d8d [diff] [blame] |
data: mark constructor explicit refs #4164 Change-Id: I4c723606643d88abe48ea540a554b9ef36a59808
diff --git a/src/data.hpp b/src/data.hpp index 8f55ca2..eedea7a 100644 --- a/src/data.hpp +++ b/src/data.hpp
@@ -49,6 +49,7 @@ * @warning In certain contexts that use Data::shared_from_this(), Data must be created * using `make_shared`. Otherwise, .shared_from_this() will trigger undefined behavior. */ + explicit Data(const Name& name = Name()); /** @brief Create from wire encoding