]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[master] Added template param in invocation of SpecializedTypeWrapper.
authorMarcin Siodelski <marcin@isc.org>
Thu, 7 Jul 2016 07:57:18 +0000 (09:57 +0200)
committerMarcin Siodelski <marcin@isc.org>
Thu, 7 Jul 2016 07:57:18 +0000 (09:57 +0200)
This was an obvious error and a trivial fix. Therefore it is being
committed on my discretion. It corrects build failures on some OSes
after merge of #4321.

src/bin/dhcp6/tests/dhcp6_test_utils.h

index 42d6816e51ca25786a38d092b22de36b9c08c3d3..ab04d0e3f0434a5400b4fa8f16519983fa94d9aa 100644 (file)
@@ -72,7 +72,7 @@ struct IAID : public SpecializedTypeWrapper<uint32_t> {
     ///
     /// @param iaid IAID.
     explicit IAID(const uint32_t iaid)
-        : SpecializedTypeWrapper(iaid) { }
+        : SpecializedTypeWrapper<uint32_t>(iaid) { }
 };
 
 /// @brief Class representing strongly typed value for strict IAID checks.
@@ -86,7 +86,7 @@ struct StrictIAIDChecking : public SpecializedTypeWrapper<bool> {
     /// @param strict_check Boolean value indicating if strict checking should
     /// be performed.
     explicit StrictIAIDChecking(const bool strict_check)
-        : SpecializedTypeWrapper(strict_check) { }
+        : SpecializedTypeWrapper<bool>(strict_check) { }
 
     /// @brief Convenience function returning an object indicating that strict
     /// checks should be performed.