Skip to content

Commit

Permalink
Apply suggestions from clang-tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
dschwoerer committed Nov 6, 2024
1 parent a4b8abf commit 3cd3407
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions include/bout/mesh.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ public:

/// Returns the non-CELL_CENTRE location
/// allowed as a staggered location
CELL_LOC getAllowedStaggerLoc(DIRECTION direction) const {
static CELL_LOC getAllowedStaggerLoc(DIRECTION direction) const {
AUTO_TRACE();
switch (direction) {
case (DIRECTION::X):
Expand Down Expand Up @@ -860,8 +860,7 @@ private:
/// (useful if CELL_CENTRE Coordinates have been changed, so reading from file
/// would not be correct).
std::shared_ptr<Coordinates>
createDefaultCoordinates(const CELL_LOC location,
bool force_interpolate_from_centre = false);
createDefaultCoordinates(CELL_LOC location, bool force_interpolate_from_centre = false);

//Internal region related information
std::map<std::string, size_t> regionMap3D;
Expand Down

0 comments on commit 3cd3407

Please sign in to comment.