summaryrefslogtreecommitdiff
path: root/libxsd
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2014-08-18 12:28:17 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2014-08-18 12:28:17 +0200
commitda35fcc74f1e1aa428f66ed05747f613b6622f3f (patch)
tree59fd14d911014a5a09518e4291f372a7a3d76abc /libxsd
parent91f43d1db854a175dd517d943ef33a631450fdf1 (diff)
Add explicit to type(const C*) constructor
Diffstat (limited to 'libxsd')
-rw-r--r--libxsd/xsd/cxx/tree/elements.hxx1
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: