From d6fe842fdb0972ffe228022c5705b1b167e68467 Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Sun, 10 Aug 2014 19:00:33 -0700 Subject: Few more tweaks, and adding a bunch of accessors to LuaHandle. --- includes/Handle.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/Handle.h') diff --git a/includes/Handle.h b/includes/Handle.h index 83884ef..2d4d401 100644 --- a/includes/Handle.h +++ b/includes/Handle.h @@ -124,7 +124,7 @@ class Handle { Future writeLEI32(int32_t); Future writeLEI64(int64_t); - // these need to be changed into Future<>s + // be careful with these ones template ssize_t writeString(const char (&str)[L]) WARN_UNUSED_RESULT { return writeString(str, L - 1); } ssize_t writeString(const String & str) WARN_UNUSED_RESULT { return forceWrite(str.to_charp(), str.strlen()); } -- cgit v1.2.3