Skip to content

Commit

Permalink
updated header guards
Browse files Browse the repository at this point in the history
  • Loading branch information
Angelyr committed Nov 28, 2024
1 parent 2f587ee commit 719bb4f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/pumipic_input.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ namespace pumipic {
return Input::INVALID;
}

void Input::printInfo() {
void Input::printMethod() {
std::string bname = getMethodString(bufferMethod);
std::string sname = getMethodString(safeMethod);
printInfo("pumipic buffer method %s\n", bname.c_str());
Expand Down
2 changes: 1 addition & 1 deletion src/pumipic_input.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ namespace pumipic {
Method bufferMethod, Method safeMethod,
Omega_h::CommPtr comm = nullptr);

void printInfo();
void printMethod();
static Method getMethod(std::string s);

Ownership getRule() const {return ownership_rule;}
Expand Down
7 changes: 5 additions & 2 deletions src/pumipic_version.hpp.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#pragma once
#ifndef PUMIPIC_VERSION_H
#define PUMIPIC_VERSION_H

#define PUMIPIC_VERSION_MAJOR @CMAKE_PROJECT_VERSION_MAJOR@
#define PUMIPIC_VERSION_MINOR @CMAKE_PROJECT_VERSION_MINOR@
Expand All @@ -8,4 +9,6 @@ namespace pumipic {
const char* pumipic_version() {
return "@CMAKE_PROJECT_VERSION@";
}
}
}

#endif //PUMIPIC_VERSION_H
7 changes: 5 additions & 2 deletions support/ppPrint.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#pragma once
#ifndef PUMIPIC_PRINT_H
#define PUMIPIC_PRINT_H

#ifdef PUMIPIC_SPDLOG_ENABLED
#include "spdlog/spdlog.h"
Expand Down Expand Up @@ -46,4 +47,6 @@ namespace pumipic {
#endif
}

}
}

#endif //PUMIPIC_PRINT_H

0 comments on commit 719bb4f

Please sign in to comment.