diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2011-04-17 22:14:18 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2011-04-17 22:14:18 +0000 |
commit | a0f68830211cbea1112794922939f8c5e90d7c4e (patch) | |
tree | 79b0ac2bf128a18e80bb08c19f3d08efe6fc5ec6 /sca-cpp/trunk/kernel/list.hpp | |
parent | ff2490e3b4638b421c381946d8b1ebb30e51141b (diff) |
Fix representation of null values and escape control characters in JSON and HTTP query strings.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1094210 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | sca-cpp/trunk/kernel/list.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sca-cpp/trunk/kernel/list.hpp b/sca-cpp/trunk/kernel/list.hpp index a8dbcc1b0c..df7bc27c03 100644 --- a/sca-cpp/trunk/kernel/list.hpp +++ b/sca-cpp/trunk/kernel/list.hpp @@ -301,7 +301,7 @@ template<typename T> const list<T> mklist(const T& a, const T& b, const T& c, co */ template<typename T> const T car(const list<T>& p) { // Abort if trying to access the car of a nil list - assert(!isNil(p.cdr)); + assertOrFail(!isNil(p.cdr)); return p.car; } |