From 685e589c18f1885543bf570cd674a1d927e2769f Mon Sep 17 00:00:00 2001
From: Marin Tomic <marin.tomic@memgraph.io>
Date: Fri, 11 Jan 2019 11:10:29 +0100
Subject: [PATCH] Add missing include to typeinfo.hpp

Reviewers: teon.banek

Reviewed By: teon.banek

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D1769
---
 src/utils/typeinfo.hpp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/utils/typeinfo.hpp b/src/utils/typeinfo.hpp
index d961a0e54..b16d7f445 100644
--- a/src/utils/typeinfo.hpp
+++ b/src/utils/typeinfo.hpp
@@ -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) {