Skip to content

Commit

Permalink
Ran clang format.
Browse files Browse the repository at this point in the history
  • Loading branch information
EpsilonPrime committed Jul 8, 2023
1 parent e8a4edb commit 1d7cf0b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,14 @@ include_directories(src)

add_subdirectory(third_party)

#find_package(absl REQUIRED)
#include_directories(${ABSL_INCLUDE_DIRS})
# find_package(absl REQUIRED) include_directories(${ABSL_INCLUDE_DIRS})

find_package(Protobuf REQUIRED CONFIG)
#include_directories(${PROTOBUF_INCLUDE_DIRS})
# include_directories(${PROTOBUF_INCLUDE_DIRS})

message(STATUS "include dirs are ${Protobuf_INCLUDE_DIRS}")
message(STATUS "include dirs are ${PROTOBUF_INCLUDE_DIRS}")


list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules")
include(BuildUtils)

Expand Down
4 changes: 2 additions & 2 deletions src/substrait/textplan/converter/LoadBinary.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ PlanOrErrors loadFromJson(std::string_view json) {
auto status = google::protobuf::util::JsonStringToMessage(
std::string{usableJson}, &plan);
if (!status.ok()) {
return PlanOrErrors({fmt::format(
"Failed to parse Substrait JSON: {}", status.message())});
return PlanOrErrors(
{fmt::format("Failed to parse Substrait JSON: {}", status.message())});
}
return PlanOrErrors(plan);
}
Expand Down

0 comments on commit 1d7cf0b

Please sign in to comment.