summaryrefslogtreecommitdiff
path: root/libxsd/xsd/cxx/tree/std-ostream-operators.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-02-22 14:44:30 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-02-22 14:44:30 +0200
commit2c0a77a8f4565b6ef76c32b970df48369b3d0456 (patch)
tree6c8d18b27efa644cf852cfdb42158864895ac5b9 /libxsd/xsd/cxx/tree/std-ostream-operators.hxx
parent5a2282e394b4049d3db96c2c28e8622e7193a014 (diff)
Add support for excluding export code from compilation
Affected options: --generate-xml-schema, --export-maps, --import-maps. New macros: XSD_NO_EXPORT, XSD_MAP_VISIBILITY. Reorder template arguments for the idref type.
Diffstat (limited to 'libxsd/xsd/cxx/tree/std-ostream-operators.hxx')
-rw-r--r--libxsd/xsd/cxx/tree/std-ostream-operators.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libxsd/xsd/cxx/tree/std-ostream-operators.hxx b/libxsd/xsd/cxx/tree/std-ostream-operators.hxx
index bf6db54..a7ab357 100644
--- a/libxsd/xsd/cxx/tree/std-ostream-operators.hxx
+++ b/libxsd/xsd/cxx/tree/std-ostream-operators.hxx
@@ -180,9 +180,9 @@ namespace xsd
// idref
//
- template <typename T, typename C, typename B>
+ template <typename C, typename B, typename T>
inline std::basic_ostream<C>&
- operator<< (std::basic_ostream<C>& os, const idref<T, C, B>& v)
+ operator<< (std::basic_ostream<C>& os, const idref<C, B, T>& v)
{
const B& r (v);
return os << r;