Skip to content

Commit 3fe192b

Browse files
author
Jan Schuerman
committed
remove std execution requirement since apple clang does not seem to care about supporting this
1 parent afd8a90 commit 3fe192b

File tree

6 files changed

+4
-64
lines changed

6 files changed

+4
-64
lines changed

.vscode/settings.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
{
2-
"cmake.configureOnOpen": true
2+
"cmake.configureOnOpen": true,
3+
"files.associations": {
4+
"execution": "cpp"
5+
}
36
}

CMakeLists.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@ set(CMAKE_CXX_STANDARD 17)
55

66
include_directories(src)
77

8-
try_compile(HAVE_EXECUTION ${CMAKE_BINARY_DIR} ${PROJECT_SOURCE_DIR}/src/executiontest.cpp)
9-
if(NOT HAVE_EXECUTION)
10-
message(FATAL_ERROR "Compiler seems to be old, unable to compile this source")
11-
endif()
12-
138
add_library(
149
${PROJECT_NAME}
1510

@@ -21,7 +16,6 @@ add_library(
2116
src/operations/array/map.cpp
2217
src/operations/array/merge.cpp
2318
src/operations/array/none.cpp
24-
src/operations/array/reduce.cpp
2519
src/operations/array/some.cpp
2620
src/operations/data/missing.cpp
2721
src/operations/data/missing_some.cpp

src/executiontest.cpp

Lines changed: 0 additions & 12 deletions
This file was deleted.

src/json_logic.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ namespace json_logic
4141
operations_.insert({"%", MAKE_OPERATION(operation_numeric_modulo)});
4242

4343
operations_.insert({"map", MAKE_OPERATION(operation_array_map)});
44-
operations_.insert({"reduce", MAKE_OPERATION(operation_array_reduce)});
4544
operations_.insert({"filter", MAKE_OPERATION(operation_array_filter)});
4645
operations_.insert({"all", MAKE_OPERATION(operation_array_all)});
4746
operations_.insert({"none", MAKE_OPERATION(operation_array_none)});

src/json_logic.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ namespace json_logic
7373
json operation_numeric_modulo(const json& values, const json& data);
7474

7575
json operation_array_map(const json& values, const json& data);
76-
json operation_array_reduce(const json& values, const json& data);
7776
json operation_array_filter(const json& values, const json& data);
7877
json operation_array_all(const json& values, const json& data);
7978
json operation_array_none(const json& values, const json& data);

src/operations/array/reduce.cpp

Lines changed: 0 additions & 43 deletions
This file was deleted.

0 commit comments

Comments
 (0)