commit | 68b5385cb06eba1dafb40de1c7f94ae3a240a1d5 | [log] [tgz] |
---|---|---|
author | Junxiao Shi <git@mail1.yoursunny.com> | Wed Jul 25 13:56:38 2018 -0600 |
committer | Junxiao Shi <git@mail1.yoursunny.com> | Wed Jul 25 13:56:38 2018 -0600 |
tree | ced775446d4aabda382e4a0c509a2725afacb97d | |
parent | 3b101d06827c46a070081733cd40dbb3636ccf64 [diff] [blame] |
docs: update code-style rule 2.24 This commit also updates existing code to use the new format. refs #4681 Change-Id: I88e62a34fc55a69cd01d74e80a7000c6cf4d7c2d
diff --git a/src/mgmt/nfd/control-parameters.hpp b/src/mgmt/nfd/control-parameters.hpp index 2291096..77ca076 100644 --- a/src/mgmt/nfd/control-parameters.hpp +++ b/src/mgmt/nfd/control-parameters.hpp
@@ -84,11 +84,7 @@ class Error : public tlv::Error { public: - explicit - Error(const std::string& what) - : tlv::Error(what) - { - } + using tlv::Error::Error; }; ControlParameters();