@@ -115,7 +115,7 @@ class validation_failed_error: public kstruct_error {
115115template <typename T>
116116class validation_not_equal_error : public validation_failed_error {
117117public:
118- validation_not_equal_error<T> (const T& expected, const T& actual, kstream* io, const std::string src_path):
118+ validation_not_equal_error (const T& expected, const T& actual, kstream* io, const std::string src_path):
119119 validation_failed_error (" not equal" , io, src_path),
120120 m_expected (expected),
121121 m_actual (actual)
@@ -124,7 +124,7 @@ class validation_not_equal_error: public validation_failed_error {
124124
125125 // "not equal, expected #{expected.inspect}, but got #{actual.inspect}"
126126
127- virtual ~validation_not_equal_error<T> () KS_NOEXCEPT {};
127+ virtual ~validation_not_equal_error () KS_NOEXCEPT {};
128128
129129protected:
130130 const T& m_expected;
@@ -138,7 +138,7 @@ class validation_not_equal_error: public validation_failed_error {
138138template <typename T>
139139class validation_less_than_error : public validation_failed_error {
140140public:
141- validation_less_than_error<T> (const T& min, const T& actual, kstream* io, const std::string src_path):
141+ validation_less_than_error (const T& min, const T& actual, kstream* io, const std::string src_path):
142142 validation_failed_error (" not in range" , io, src_path),
143143 m_min (min),
144144 m_actual (actual)
@@ -147,7 +147,7 @@ class validation_less_than_error: public validation_failed_error {
147147
148148 // "not in range, min #{min.inspect}, but got #{actual.inspect}"
149149
150- virtual ~validation_less_than_error<T> () KS_NOEXCEPT {};
150+ virtual ~validation_less_than_error () KS_NOEXCEPT {};
151151
152152protected:
153153 const T& m_min;
@@ -161,7 +161,7 @@ class validation_less_than_error: public validation_failed_error {
161161template <typename T>
162162class validation_greater_than_error : public validation_failed_error {
163163public:
164- validation_greater_than_error<T> (const T& max, const T& actual, kstream* io, const std::string src_path):
164+ validation_greater_than_error (const T& max, const T& actual, kstream* io, const std::string src_path):
165165 validation_failed_error (" not in range" , io, src_path),
166166 m_max (max),
167167 m_actual (actual)
@@ -170,7 +170,7 @@ class validation_greater_than_error: public validation_failed_error {
170170
171171 // "not in range, max #{max.inspect}, but got #{actual.inspect}"
172172
173- virtual ~validation_greater_than_error<T> () KS_NOEXCEPT {};
173+ virtual ~validation_greater_than_error () KS_NOEXCEPT {};
174174
175175protected:
176176 const T& m_max;
@@ -184,15 +184,15 @@ class validation_greater_than_error: public validation_failed_error {
184184template <typename T>
185185class validation_not_any_of_error : public validation_failed_error {
186186public:
187- validation_not_any_of_error<T> (const T& actual, kstream* io, const std::string src_path):
187+ validation_not_any_of_error (const T& actual, kstream* io, const std::string src_path):
188188 validation_failed_error (" not any of the list" , io, src_path),
189189 m_actual (actual)
190190 {
191191 }
192192
193193 // "not any of the list, got #{actual.inspect}"
194194
195- virtual ~validation_not_any_of_error<T> () KS_NOEXCEPT {};
195+ virtual ~validation_not_any_of_error () KS_NOEXCEPT {};
196196
197197protected:
198198 const T& m_actual;
@@ -205,15 +205,15 @@ class validation_not_any_of_error: public validation_failed_error {
205205template <typename T>
206206class validation_expr_error : public validation_failed_error {
207207public:
208- validation_expr_error<T> (const T& actual, kstream* io, const std::string src_path):
208+ validation_expr_error (const T& actual, kstream* io, const std::string src_path):
209209 validation_failed_error (" not matching the expression" , io, src_path),
210210 m_actual (actual)
211211 {
212212 }
213213
214214 // "not matching the expression, got #{actual.inspect}"
215215
216- virtual ~validation_expr_error<T> () KS_NOEXCEPT {};
216+ virtual ~validation_expr_error () KS_NOEXCEPT {};
217217
218218protected:
219219 const T& m_actual;
0 commit comments