Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
p-senichenkov committed Nov 28, 2024
1 parent 02508e9 commit f1e8ba1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/core/algorithms/fd/pyrocommon/model/pli_cache.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ class PLICache {
std::unique_ptr<VerticalMap<PositionListIndex>> index_;
// usageCounter - for parallelism

// All these MAYBE_UNUSED variables are required to support Pyro's caching strategies from our ADBIS paper:
// https://link.springer.com/chapter/10.1007/978-3-030-30278-8_7
// All these MAYBE_UNUSED variables are required to support Pyro's caching strategies from our
// ADBIS paper: https://link.springer.com/chapter/10.1007/978-3-030-30278-8_7

MAYBE_UNUSED int saved_intersections_ = 0;

Expand Down
2 changes: 0 additions & 2 deletions src/core/algorithms/gfd/gfd_validation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
#include <set>
#include <thread>

#include <easylogging++.h>

#include <boost/graph/eccentricity.hpp>
#include <boost/graph/exterior_property.hpp>
#include <boost/graph/floyd_warshall_shortest.hpp>
Expand Down
4 changes: 2 additions & 2 deletions src/core/util/maybe_unused.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
// clang produces warning on unused private fields, so they need to be marked as [[maybe_unused]],
// but g++ doesn't recognize [[maybe_unused]] on class fields and produces warning.
// This macro expands to [[maybe_unused]], when compiler is clang, nop otherwise
// (see https://stackoverflow.com/questions/50646334/maybe-unused-on-member-variable-gcc-warns-incorrectly-that-attribute-is
// and https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72789)
// (see https://stackoverflow.com/questions/50646334/maybe-unused-on-member-variable-gcc-warns-
// incorrectly-that-attribute-is and https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72789)
#ifdef __clang__
#define MAYBE_UNUSED [[maybe_unused]]
#else
Expand Down

0 comments on commit f1e8ba1

Please sign in to comment.