diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2014-08-18 12:28:17 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2014-08-18 12:28:17 +0200 |
commit | da35fcc74f1e1aa428f66ed05747f613b6622f3f (patch) | |
tree | 59fd14d911014a5a09518e4291f372a7a3d76abc /libxsd/xsd | |
parent | 91f43d1db854a175dd517d943ef33a631450fdf1 (diff) |
Add explicit to type(const C*) constructor
Diffstat (limited to 'libxsd/xsd')
-rw-r--r-- | libxsd/xsd/cxx/tree/elements.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
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 <typename C> + explicit _type (const C* s); public: |