@@ -77,7 +77,7 @@ struct Boundary<Type, ABOVE> : public BoundaryInterface{
7777template <class Type >
7878struct Boundary <Type, EQUALS> : public BoundaryInterface{
7979 static constexpr ProtectionType Protector = EQUALS;
80- static constexpr const char * format = " \" type\" : \" EQUALS\" , \" data\" : { \" value\" : %s, \" bound \" : %s }" ;
80+ static constexpr const char * format = " \" type\" : \" EQUALS\" , \" data\" : { \" value\" : %s }" ;
8181 Type* src = nullptr ;
8282 Type boundary;
8383 Boundary (Type boundary): boundary(boundary){};
@@ -99,7 +99,7 @@ struct Boundary<Type, EQUALS> : public BoundaryInterface{
9999template <class Type >
100100struct Boundary <Type, NOT_EQUALS> : public BoundaryInterface{
101101 static constexpr ProtectionType Protector = NOT_EQUALS;
102- static constexpr const char * format = " \" type\" : \" NOT_EQUALS\" , \" data\" : { \" value\" : %s, \" bound \" : %s }" ;
102+ static constexpr const char * format = " \" type\" : \" NOT_EQUALS\" , \" data\" : { \" value\" : %s, \" want \" : %s }" ;
103103 Type* src = nullptr ;
104104 Type boundary;
105105 Boundary (Type boundary): boundary(boundary){};
@@ -144,6 +144,8 @@ template<>
144144struct Boundary <void , ERROR_HANDLER> : public BoundaryInterface{
145145 static constexpr ProtectionType Protector = ERROR_HANDLER;
146146 static constexpr const char * format = " \" type\" : \" ERROR_HANDLER\" , \" data\" : %s " ;
147+ Boundary (void *){}
148+ Boundary (void *, Boundary<void ,ERROR_HANDLER>){}
147149 Boundary () = default ;
148150 bool check_bounds () override {
149151 return ErrorHandlerModel::error_triggered;
0 commit comments