aboutsummaryrefslogtreecommitdiff
path: root/xsde/cxx/hybrid/default-value.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-10-13 15:38:11 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-10-13 15:38:11 +0200
commit6f395f9f769866a04f6949cb7ed14f93d90cf728 (patch)
treed1f8343e7b41fc1895676ad4248a5e4942f9172b /xsde/cxx/hybrid/default-value.cxx
parentc1f49aa87678c512ac37575365a6676727e5f20a (diff)
Map anySimpleType to a string
Diffstat (limited to 'xsde/cxx/hybrid/default-value.cxx')
-rw-r--r--xsde/cxx/hybrid/default-value.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/xsde/cxx/hybrid/default-value.cxx b/xsde/cxx/hybrid/default-value.cxx
index d63c636..712f405 100644
--- a/xsde/cxx/hybrid/default-value.cxx
+++ b/xsde/cxx/hybrid/default-value.cxx
@@ -229,8 +229,9 @@ namespace CXX
// anySimpleType.
//
Void InitValue::
- traverse (SemanticGraph::AnySimpleType&)
+ traverse (SemanticGraph::AnySimpleType& t)
{
+ string_type (t);
}
// Strings.
@@ -741,7 +742,7 @@ namespace CXX
}
Void InitValue::
- string_type (SemanticGraph::Fundamental::Type& t)
+ string_type (SemanticGraph::Type& t)
{
// In case STL is disabled, strings are returned as literals
// so we end up here only if the type is derived from a string.