From 1a357ffa3af960780a88bd0954d2e519c89bdff2 Mon Sep 17 00:00:00 2001 From: lloyd Date: Thu, 9 Sep 2010 14:59:41 +0000 Subject: Partially fix Python compilation. Looks like Boost.Python doesn't support C++0x though, particularly unique_ptr, so this may be DOA... --- src/wrap/python/python_botan.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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)) {} }; -- cgit v1.2.3