Add missing include to typeinfo.hpp

Reviewers: teon.banek

Reviewed By: teon.banek

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D1769
This commit is contained in:
Marin Tomic 2019-01-11 11:10:29 +01:00
parent 168409b5c3
commit 685e589c18

View File

@ -1,5 +1,7 @@
#pragma once
#include <cstdint>
namespace utils {
/// Type information on a C++ type.
@ -12,7 +14,7 @@ struct TypeInfo {
/// Unique ID for the type.
uint64_t id;
/// Pretty name of the type.
std::string name;
const char *name;
};
inline bool operator==(const TypeInfo &a, const TypeInfo &b) {