summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2014-08-10 19:00:33 -0700
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2014-08-10 19:00:33 -0700
commitd6fe842fdb0972ffe228022c5705b1b167e68467 (patch)
tree871156087a42fb7cfb5bea8a9ac5a36bf5103b9f /includes
parent2e5344109da2abc59a7882521ea8378ca01c174c (diff)
Few more tweaks, and adding a bunch of accessors to LuaHandle.
Diffstat (limited to 'includes')
-rw-r--r--includes/Handle.h2
1 files changed, 1 insertions, 1 deletions
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<void> writeLEI32(int32_t);
Future<void> writeLEI64(int64_t);
- // these need to be changed into Future<>s
+ // be careful with these ones
template <size_t L>
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()); }