File tree 2 files changed +8
-1
lines changed 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -54,8 +54,11 @@ std::string const& to_string(ValidationLevel level) {
54
54
55
55
// ////////////////////////////////////////////////////////////////////////////
56
56
57
+ ValidatorBase::ValidatorBase ()
58
+ : _level(ValidationLevel::Strict), _special(validation::SpecialProperties::None) {}
59
+
57
60
ValidatorBase::ValidatorBase (VPackSlice params)
58
- : _level(ValidationLevel::Strict), _special(validation::SpecialProperties::None ) {
61
+ : ValidatorBase( ) {
59
62
// parse message
60
63
auto msgSlice = params.get (StaticStrings::ValidationParameterMessage);
61
64
if (msgSlice.isString ()) {
Original file line number Diff line number Diff line change @@ -50,6 +50,10 @@ enum class ValidationLevel {
50
50
};
51
51
52
52
struct ValidatorBase {
53
+ protected:
54
+ explicit ValidatorBase ();
55
+
56
+ public:
53
57
explicit ValidatorBase (VPackSlice params);
54
58
virtual ~ValidatorBase () = default ;
55
59
You can’t perform that action at this time.
0 commit comments