File tree Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -12,12 +12,6 @@ namespace json_logic
12
12
{
13
13
json JsonLogic::operation_logic_and (const json& values, const json& data)
14
14
{
15
- if (values.size () < 2 )
16
- throw JsonLogicException (
17
- __FUNCTION__,
18
- " Expected 2 or more arguments, but received " + std::to_string (values.size ())
19
- );
20
-
21
15
return std::all_of (
22
16
values.begin (),
23
17
values.end (),
Original file line number Diff line number Diff line change @@ -10,12 +10,6 @@ namespace json_logic
10
10
{
11
11
json JsonLogic::operation_logic_or (const json& values, const json& data)
12
12
{
13
- if (values.size () < 2 )
14
- throw JsonLogicException (
15
- __FUNCTION__,
16
- " Expected 2 or more arguments, but received " + std::to_string (values.size ())
17
- );
18
-
19
13
return std::any_of (
20
14
values.begin (),
21
15
values.end (),
You can’t perform that action at this time.
0 commit comments