diff --git a/example/example.cpp b/example/example.cpp index 1ae8d8d..f8996d4 100644 --- a/example/example.cpp +++ b/example/example.cpp @@ -24,7 +24,6 @@ // Simple Example. #include -#include #include struct SomeStruct { diff --git a/src/nameof.hpp b/src/nameof.hpp index 5bc7c6c..4c00fec 100644 --- a/src/nameof.hpp +++ b/src/nameof.hpp @@ -22,6 +22,7 @@ // SOFTWARE. #pragma once +#include inline constexpr const char* template_nameof_(const char* name, size_t length) { return length == 0 ? name