Skip to content

Commit

Permalink
Applied clang-format.
Browse files Browse the repository at this point in the history
  • Loading branch information
jellespijker authored and github-actions[bot] committed Jan 21, 2024
1 parent 962fb1f commit a8ce1d0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
13 changes: 10 additions & 3 deletions include/plugins/slots.h
Original file line number Diff line number Diff line change
Expand Up @@ -266,12 +266,19 @@ namespace details
struct Slots
{
template<plugins::v0::SlotID S>
constexpr auto modify(auto&& data, auto&&... args) noexcept { return std::forward<decltype(data)>(data); }
constexpr auto modify(auto&& data, auto&&... args) noexcept
{
return std::forward<decltype(data)>(data);
}

template<plugins::v0::SlotID S>
constexpr auto broadcast(auto&&... args) noexcept {}
constexpr auto broadcast(auto&&... args) noexcept
{
}

constexpr auto connect(auto&&... args) noexcept {}
constexpr auto connect(auto&&... args) noexcept
{
}
};
} // namespace details

Expand Down
2 changes: 1 addition & 1 deletion src/infill.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ void Infill::_generate(
break;
case EFillMethod::PLUGIN:
{
#ifdef ENABLE_PLUGINS // FIXME: I don't like this conditional block outside of the plugin scope.
#ifdef ENABLE_PLUGINS // FIXME: I don't like this conditional block outside of the plugin scope.
auto [toolpaths_, generated_result_polygons_, generated_result_lines_] = slots::instance().generate<plugins::v0::SlotID::INFILL_GENERATE>(
inner_contour_,
mesh ? mesh->settings.get<std::string>("infill_pattern") : settings.get<std::string>("infill_pattern"),
Expand Down

0 comments on commit a8ce1d0

Please sign in to comment.