diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-06-22 11:51:14 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-06-22 11:51:14 +0200 |
commit | 26899a31d9a85e6ec6cfb782b0977af05e3330c1 (patch) | |
tree | 2e22074dad490a2195ef22bf2f7f6ca4ed67aa88 /xsd-frontend/semantic-graph/any.cxx | |
parent | 90801c5afeb37e4297076bdd5354ba41a7009a3f (diff) |
Get rid of dependency on libcult
Diffstat (limited to 'xsd-frontend/semantic-graph/any.cxx')
-rw-r--r-- | xsd-frontend/semantic-graph/any.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xsd-frontend/semantic-graph/any.cxx b/xsd-frontend/semantic-graph/any.cxx index 75eb5dd..8aff295 100644 --- a/xsd-frontend/semantic-graph/any.cxx +++ b/xsd-frontend/semantic-graph/any.cxx @@ -16,7 +16,7 @@ namespace XSDFrontend Any (Path const& file, unsigned long line, unsigned long column, - WideString const& namespaces) + String const& namespaces) : Node (file, line, column), prototype_ (0) { @@ -26,9 +26,9 @@ namespace XSDFrontend for (size_t i (0), j (namespaces.find (L' '));;) { - if (j != WideString::npos) + if (j != String::npos) { - namespaces_.push_back (WideString (namespaces, i, j - i)); + namespaces_.push_back (String (namespaces, i, j - i)); i = j + 1; j = namespaces.find (L' ', i); @@ -37,7 +37,7 @@ namespace XSDFrontend { // Last element. // - namespaces_.push_back (WideString (namespaces, i)); + namespaces_.push_back (String (namespaces, i)); break; } } |