From da35fcc74f1e1aa428f66ed05747f613b6622f3f Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 18 Aug 2014 12:28:17 +0200 Subject: Add explicit to type(const C*) constructor --- libxsd/xsd/cxx/tree/elements.hxx | 1 + 1 file changed, 1 insertion(+) (limited to 'libxsd/xsd/cxx/tree/elements.hxx') diff --git a/libxsd/xsd/cxx/tree/elements.hxx b/libxsd/xsd/cxx/tree/elements.hxx index 18b268c..b36f4fd 100644 --- a/libxsd/xsd/cxx/tree/elements.hxx +++ b/libxsd/xsd/cxx/tree/elements.hxx @@ -348,6 +348,7 @@ namespace xsd * is to allow statically-initialized default values of anyType type. */ template + explicit _type (const C* s); public: -- cgit v1.1