Merge lp:~zorba-coders/zorba/bug1068240 into lp:zorba

Proposed by Juan Zacarias
Status: Merged
Approved by: Markos Zaharioudakis
Approved revision: 11089
Merged at revision: 11105
Proposed branch: lp:~zorba-coders/zorba/bug1068240
Merge into: lp:zorba
Diff against target: 73 lines (+6/-6)
5 files modified
include/zorba/dynamic_context.h (+1/-1)
src/api/dynamiccontextimpl.cpp (+1/-1)
src/api/dynamiccontextimpl.h (+1/-1)
src/context/dynamic_context.cpp (+1/-1)
src/context/dynamic_context.h (+2/-2)
To merge this branch: bzr merge lp:~zorba-coders/zorba/bug1068240
Reviewer Review Type Date Requested Status
Markos Zaharioudakis Approve
Matthias Brantner Approve
Review via email: mp+130861@code.launchpad.net

Commit message

 Changed DynamicContext function addExternalFunctionParameter to const

Description of the change

 Changed DynamicContext function addExternalFunctionParameter to const

To post a comment you must log in.
Revision history for this message
Matthias Brantner (matthias-brantner) :
review: Approve
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

The attempt to merge lp:~zorba-coders/zorba/bug1068240 into lp:zorba failed. Below is the output from the failed tests.

CMake Error at /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake:274 (message):
  Validation queue job bug1068240-2012-10-22T17-21-43.277Z is finished. The
  final status was:

  1 tests did not succeed - changes not commited.

Error in read script: /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake

Revision history for this message
Markos Zaharioudakis (markos-za) :
review: Approve
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

Validation queue job bug1068240-2012-10-22T19-12-38.498Z is finished. The final status was:

All tests succeeded!

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'include/zorba/dynamic_context.h'
2--- include/zorba/dynamic_context.h 2012-10-08 12:09:36 +0000
3+++ include/zorba/dynamic_context.h 2012-10-22 17:16:25 +0000
4@@ -284,7 +284,7 @@
5 * false otherwise.
6 */
7 virtual bool
8- addExternalFunctionParameter ( const String& aName, ExternalFunctionParameter* aParam ) = 0;
9+ addExternalFunctionParameter ( const String& aName, ExternalFunctionParameter* aParam ) const = 0;
10
11 /** \brief Get the value of a pair that was registered using
12 * the addExternalFunctionParam method. This can
13
14=== modified file 'src/api/dynamiccontextimpl.cpp'
15--- src/api/dynamiccontextimpl.cpp 2012-10-08 12:09:36 +0000
16+++ src/api/dynamiccontextimpl.cpp 2012-10-22 17:16:25 +0000
17@@ -715,7 +715,7 @@
18 bool
19 DynamicContextImpl::addExternalFunctionParameter (
20 const String& aName,
21- ExternalFunctionParameter* aValue )
22+ ExternalFunctionParameter* aValue ) const
23 {
24 ZORBA_DCTX_TRY
25 {
26
27=== modified file 'src/api/dynamiccontextimpl.h'
28--- src/api/dynamiccontextimpl.h 2012-10-08 12:09:36 +0000
29+++ src/api/dynamiccontextimpl.h 2012-10-22 17:16:25 +0000
30@@ -151,7 +151,7 @@
31 getExternalFunctionParam(const String& aName, void*&) const;
32
33 virtual bool
34- addExternalFunctionParameter(const String& aName, ExternalFunctionParameter* aParam);
35+ addExternalFunctionParameter(const String& aName, ExternalFunctionParameter* aParam) const;
36
37 virtual ExternalFunctionParameter*
38 getExternalFunctionParameter(const String& aName) const;
39
40=== modified file 'src/context/dynamic_context.cpp'
41--- src/context/dynamic_context.cpp 2012-09-19 21:16:15 +0000
42+++ src/context/dynamic_context.cpp 2012-10-22 17:16:25 +0000
43@@ -891,7 +891,7 @@
44 ********************************************************************************/
45 bool dynamic_context::addExternalFunctionParameter(
46 const std::string& aName,
47- ExternalFunctionParameter* aValue)
48+ ExternalFunctionParameter* aValue) const
49 {
50 if (!keymap)
51 {
52
53=== modified file 'src/context/dynamic_context.h'
54--- src/context/dynamic_context.h 2012-10-19 20:42:38 +0000
55+++ src/context/dynamic_context.h 2012-10-22 17:16:25 +0000
56@@ -129,7 +129,7 @@
57
58 std::vector<VarValue> theVarValues;
59
60- ValueMap * keymap;
61+ mutable ValueMap * keymap;
62
63 IndexMap * theAvailableIndices;
64
65@@ -241,7 +241,7 @@
66
67 bool addExternalFunctionParameter(
68 const std::string& aName,
69- ExternalFunctionParameter* aValue);
70+ ExternalFunctionParameter* aValue) const;
71
72 ExternalFunctionParameter* getExternalFunctionParameter(
73 const std::string& aName) const;

Subscribers

People subscribed via source and target branches