Skip to content

Commit

Permalink
fix windows compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
LivInTheLookingGlass committed Aug 18, 2024
1 parent 0c488cd commit f3083f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cplusplus/src/include/utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ std::string get_data_file(const std::string &name) {
}

typedef enum {
ERROR,
ERR,
INT8,
INT16,
INT32,
Expand Down
2 changes: 1 addition & 1 deletion cplusplus/test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ void test_euler_answer() {
std::string sresult;
std::ostringstream oss;
switch (answer.type) {
case ERROR:
case ERR:
TEST_FAIL_MESSAGE("Unknown answer type. This should be unreachable.");
case INT8:
iresult = ((int8_t (*)()) key.func)();
Expand Down

0 comments on commit f3083f2

Please sign in to comment.