diff --git a/include/nameof.hpp b/include/nameof.hpp index 5d80286..4751039 100644 --- a/include/nameof.hpp +++ b/include/nameof.hpp @@ -29,7 +29,8 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -#pragma once +#ifndef NAMEOF_HPP +#define NAMEOF_HPP #include #include @@ -258,3 +259,5 @@ template // Obtains string name of variable type. #define NAMEOF_VAR_TYPE(...) ::nameof::nameof_type() + +#endif // NAMEOF_HPP