From dc8c38c76f863f7e430a8478166cd0e292d22d1f Mon Sep 17 00:00:00 2001 From: neargye Date: Wed, 1 May 2019 19:44:25 +0500 Subject: [PATCH] change include guard --- include/nameof.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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