commit | 6fe77e8e660139dbe7ad2b52e5ca3d0e5a0de7ca | [log] [tgz] |
---|---|---|
author | Jens Geyer <jensg@apache.org> | 周日 3月 16 16:48:53 2014 +0200 |
committer | Jens Geyer <jensg@apache.org> | 周一 3月 17 22:51:21 2014 +0200 |
tree | ed654704703946bc634b2b9465c16a84ef6990c2 | |
parent | 5b78958864475204dc15590742ae1bc7f4df33ca [diff] [blame] |
THRIFT-2404 emit warning on (typically inefficient) list<byte> Patch: Jens Geyer
diff --git a/compiler/cpp/src/main.h b/compiler/cpp/src/main.h index 87af5f6..f737e3f 100644 --- a/compiler/cpp/src/main.h +++ b/compiler/cpp/src/main.h
@@ -88,6 +88,10 @@ */ void declare_valid_program_doctext(); +/** + * Emits a warning on list<byte>, binary type is typically a much better choice. + */ +void check_for_list_of_bytes(t_type* list_elem_type); /** * Flex utilities