diff options
author | lloyd <[email protected]> | 2010-09-09 14:59:41 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-09-09 14:59:41 +0000 |
commit | 1a357ffa3af960780a88bd0954d2e519c89bdff2 (patch) | |
tree | d521488c7fb9fa477758a210434307e4197d1c48 | |
parent | b9534e818f443c6439c294ee694fa0774bc6d79b (diff) |
Partially fix Python compilation. Looks like Boost.Python doesn't support
C++0x though, particularly unique_ptr, so this may be DOA...
-rw-r--r-- | src/wrap/python/python_botan.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wrap/python/python_botan.h b/src/wrap/python/python_botan.h index a7a2e505e..ac0a17d7f 100644 --- a/src/wrap/python/python_botan.h +++ b/src/wrap/python/python_botan.h @@ -24,7 +24,8 @@ class Bad_Size : public Exception public: Bad_Size(u32bit got, u32bit expected) : Exception("Bad size detected in Python/C++ conversion layer: got " + - to_string(got) + " bytes, expected " + to_string(expected)) + std::to_string(got) + " bytes, expected " + + std::to_string(expected)) {} }; |