Fix compiling if not include size_t

This commit is contained in:
terik23 2018-03-17 10:06:38 +05:00
parent 9b91f54986
commit 1e7ae74d4e
2 changed files with 1 additions and 1 deletions

View file

@ -24,7 +24,6 @@
// Simple Example.
#include <iostream>
#include <cstdint>
#include <nameof.hpp>
struct SomeStruct {

View file

@ -22,6 +22,7 @@
// SOFTWARE.
#pragma once
#include <cstddef>
inline constexpr const char* template_nameof_(const char* name, size_t length) {
return length == 0 ? name