diff --git a/src/pumipic_input.cpp b/src/pumipic_input.cpp index 3ad4c740..60183e3b 100644 --- a/src/pumipic_input.cpp +++ b/src/pumipic_input.cpp @@ -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()); diff --git a/src/pumipic_input.hpp b/src/pumipic_input.hpp index 22f53159..38bbffbd 100644 --- a/src/pumipic_input.hpp +++ b/src/pumipic_input.hpp @@ -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;} diff --git a/src/pumipic_version.hpp.in b/src/pumipic_version.hpp.in index 143518d6..1828a468 100644 --- a/src/pumipic_version.hpp.in +++ b/src/pumipic_version.hpp.in @@ -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@ @@ -8,4 +9,6 @@ namespace pumipic { const char* pumipic_version() { return "@CMAKE_PROJECT_VERSION@"; } -} \ No newline at end of file +} + +#endif //PUMIPIC_VERSION_H \ No newline at end of file diff --git a/support/ppPrint.h b/support/ppPrint.h index d9dfdb80..fa49b6eb 100644 --- a/support/ppPrint.h +++ b/support/ppPrint.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef PUMIPIC_PRINT_H +#define PUMIPIC_PRINT_H #ifdef PUMIPIC_SPDLOG_ENABLED #include "spdlog/spdlog.h" @@ -46,4 +47,6 @@ namespace pumipic { #endif } -} \ No newline at end of file +} + +#endif //PUMIPIC_PRINT_H \ No newline at end of file