From 048373d221f74f1fe253b73752e698ead53f5e9b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alexis=20Laferri=C3=A8re?= Date: Wed, 26 Nov 2014 11:45:31 -0500 Subject: [PATCH] lib/cpp: move up `to_cpp_string` to `Text` MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Alexis Laferrière --- lib/cpp.nit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cpp.nit b/lib/cpp.nit index 3d4daf6..4eeb2a5 100644 --- a/lib/cpp.nit +++ b/lib/cpp.nit @@ -23,7 +23,7 @@ end extern class CppString in "C++" `{ std::string* `} end -redef class String +redef class Text fun to_cpp_string: CppString do return to_cstring.to_cpp_string end -- 1.7.9.5