diff options
Diffstat (limited to 'cutl/xml/serializer.cxx')
-rw-r--r-- | cutl/xml/serializer.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cutl/xml/serializer.cxx b/cutl/xml/serializer.cxx index 66c78a4..3919635 100644 --- a/cutl/xml/serializer.cxx +++ b/cutl/xml/serializer.cxx @@ -78,8 +78,8 @@ namespace cutl } serializer:: - serializer (ostream& os, const string& name, unsigned short ind) - : os_ (os), os_state_ (os.exceptions ()), name_ (name), depth_ (0) + serializer (ostream& os, const string& oname, unsigned short ind) + : os_ (os), os_state_ (os.exceptions ()), oname_ (oname), depth_ (0) { // Temporarily disable exceptions on the stream. // @@ -106,7 +106,7 @@ namespace cutl { string m (genxGetErrorMessage (s_, e)); genxDispose (s_); - throw serialization (name, m); + throw serialization (oname, m); } } @@ -126,7 +126,7 @@ namespace cutl os_.exceptions (os_state_); // Fall through. default: - throw serialization (name_, genxGetErrorMessage (s_, e)); + throw serialization (oname_, genxGetErrorMessage (s_, e)); } } |