aboutsummaryrefslogtreecommitdiff
path: root/xsde/cxx/elements.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-02-19 10:53:23 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-02-19 10:53:23 +0200
commit17106842a129b349759e829f4ce3493c7d698799 (patch)
tree20c96831983d8ef9cc376015bca3525dc1e4b87b /xsde/cxx/elements.cxx
parentf6a14d74a62511977f87ba2e6f9116fc97fbb1a4 (diff)
Remove unused traverser
Diffstat (limited to 'xsde/cxx/elements.cxx')
-rw-r--r--xsde/cxx/elements.cxx24
1 files changed, 0 insertions, 24 deletions
diff --git a/xsde/cxx/elements.cxx b/xsde/cxx/elements.cxx
index 86d29e1..a67905d 100644
--- a/xsde/cxx/elements.cxx
+++ b/xsde/cxx/elements.cxx
@@ -1221,28 +1221,4 @@ namespace CXX
if (st_)
st_->leave ();
}
-
- // Include
- //
- Void Includes::
- traverse (SemanticGraph::Path const& path)
- {
- // Try to use the portable representation of the path. If that
- // fails, fall back to the native representation.
- //
- NarrowString path_str;
- try
- {
- path_str = path.string ();
- }
- catch (SemanticGraph::InvalidPath const&)
- {
- path_str = path.native_file_string ();
- }
-
- String hxx_path (expr_.merge (path_str));
-
- ctx_.os << "#include " << ctx_.process_include_path (hxx_path) << endl
- << endl;
- }
}