diff options
Diffstat (limited to 'libxsde/xsde/cxx/qname.ixx')
-rw-r--r-- | libxsde/xsde/cxx/qname.ixx | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/libxsde/xsde/cxx/qname.ixx b/libxsde/xsde/cxx/qname.ixx index f449ef3..7a374c6 100644 --- a/libxsde/xsde/cxx/qname.ixx +++ b/libxsde/xsde/cxx/qname.ixx @@ -124,6 +124,24 @@ namespace xsde return r; } +#ifdef XSDE_EXCEPTIONS + inline void qname:: + _copy (qname& c) const + { + c.prefix_copy (prefix_); + c.name_copy (name_); + } +#else + inline bool qname:: + _copy (qname& c) const + { + if (c.prefix_copy (prefix_) || c.name_copy (name_)) + return false; + + return true; + } +#endif + // // inline bool |