]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
json_spirit: remove unused typedef
authorSage Weil <sage@inktank.com>
Fri, 9 Aug 2013 19:40:34 +0000 (12:40 -0700)
committerSage Weil <sage@inktank.com>
Thu, 22 Aug 2013 17:14:30 +0000 (10:14 -0700)
commit9cb2c2eb3627b52c3413b39b45e7fb7e0e9a074c
tree5ca1bc9d6763954655ff3a573b80dcb0807aac38
parentd774559f118d26cd15ecf1a49468ce1a3d260efc
json_spirit: remove unused typedef

In file included from json_spirit/json_spirit_writer.cpp:7:0:
json_spirit/json_spirit_writer_template.h: In function 'String_type json_spirit::non_printable_to_string(unsigned int)':
json_spirit/json_spirit_writer_template.h:37:50: warning: typedef 'Char_type' locally defined but not used [-Wunused-local-typedefs]
         typedef typename String_type::value_type Char_type;

(Also, ha ha, this file uses \r\n.)

Signed-off-by: Sage Weil <sage@inktank.com>
(cherry picked from commit 6abae35a3952e5b513895267711fea63ff3bad09)
src/json_spirit/json_spirit_writer_template.h