From 32e3dd71b154d48862f7d3e3fd93499314794bd3 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Mon, 3 May 2021 20:35:23 -0400 Subject: [PATCH] Be overt in empty std::string construction. --- Reflection/Struct.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Reflection/Struct.hpp b/Reflection/Struct.hpp index 36c74f6a8..464860ade 100644 --- a/Reflection/Struct.hpp +++ b/Reflection/Struct.hpp @@ -319,7 +319,7 @@ template class StructImpl: public Struct { if(iterator != contents_.end()) { return iterator->first; } else { - return ""; + return std::string(); } }