zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #17863
[Merge] lp:~paul-lucas/zorba/pjl-misc into lp:zorba
Paul J. Lucas has proposed merging lp:~paul-lucas/zorba/pjl-misc into lp:zorba.
Commit message:
CRITICAL FIX: Added missing applied_loc_ in copy ctor and operator=.
Requested reviews:
Matthias Brantner (matthias-brantner)
Paul J. Lucas (paul-lucas)
For more details, see:
https://code.launchpad.net/~paul-lucas/zorba/pjl-misc/+merge/147012
CRITICAL FIX: Added missing applied_loc_ in copy ctor and operator=.
--
https://code.launchpad.net/~paul-lucas/zorba/pjl-misc/+merge/147012
Your team Zorba Coders is subscribed to branch lp:zorba.
=== modified file 'src/diagnostics/xquery_exception.cpp'
--- src/diagnostics/xquery_exception.cpp 2013-02-07 01:28:43 +0000
+++ src/diagnostics/xquery_exception.cpp 2013-02-07 03:17:22 +0000
@@ -58,6 +58,7 @@
XQueryException::XQueryException( XQueryException const &from ) :
ZorbaException( from ),
source_loc_( from.source_loc_ ),
+ applied_loc_( from.applied_loc_ ),
query_trace_( from.query_trace_ )
{
// This copy constructor isn't necessary: the compiler-generated default copy
@@ -83,6 +84,7 @@
if ( &from != this ) {
ZorbaException::operator=( from );
source_loc_ = from.source_loc_;
+ applied_loc_ = from.applied_loc_;
query_trace_ = from.query_trace_;
}
return *this;
Follow ups