Browse Source

[master] Added template param in invocation of SpecializedTypeWrapper.

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.
Marcin Siodelski 8 years ago
parent
commit
7391c0a059
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/bin/dhcp6/tests/dhcp6_test_utils.h

+ 2 - 2
src/bin/dhcp6/tests/dhcp6_test_utils.h

@@ -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.