From 2c7cbdebe1963ad76444aa5fbad176d433a10d95 Mon Sep 17 00:00:00 2001 From: Jose Date: Mon, 30 Jan 2017 18:56:01 +0100 Subject: C++ metadata validation fixes --- cpp/src/slice2cpp/Gen.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'cpp/src/slice2cpp/Gen.h') diff --git a/cpp/src/slice2cpp/Gen.h b/cpp/src/slice2cpp/Gen.h index 479dfc2866a..768a148969a 100644 --- a/cpp/src/slice2cpp/Gen.h +++ b/cpp/src/slice2cpp/Gen.h @@ -635,10 +635,8 @@ private: private: - void validate(const SyntaxTreeBasePtr&, const StringList&, const std::string&, const std::string&, - bool = false); - - StringSet _history; + StringList validate(const SyntaxTreeBasePtr&, const StringList&, const std::string&, const std::string&, + bool = false); }; class NormalizeMetaDataVisitor : public ParserVisitor -- cgit v1.2.3