Fix compiling if not include size_t
This commit is contained in:
parent
9b91f54986
commit
1e7ae74d4e
2 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,6 @@
|
|||
// Simple Example.
|
||||
|
||||
#include <iostream>
|
||||
#include <cstdint>
|
||||
#include <nameof.hpp>
|
||||
|
||||
struct SomeStruct {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue