Menu

Commit [r247]  Maximize  Restore  History

Got rid of several unnecessary includes of <iostream>.

Including <iostream> causes the file to be polluted with a static
initializer for the __ioinit symbol. This can harm binary startup time.
For more info, see here:

http://neugierig.org/software/chromium/notes/2011/08/static-initializers.html

aaronjacobs 2011-12-22

changed /trunk/jsoncpp/include/json/assertions.h
changed /trunk/jsoncpp/include/json/reader.h
changed /trunk/jsoncpp/include/json/writer.h
changed /trunk/jsoncpp/src/lib_json/json_reader.cpp
changed /trunk/jsoncpp/src/lib_json/json_value.cpp
changed /trunk/jsoncpp/src/lib_json/json_writer.cpp
/trunk/jsoncpp/include/json/assertions.h Diff Switch to side-by-side view
Loading...
/trunk/jsoncpp/include/json/reader.h Diff Switch to side-by-side view
Loading...
/trunk/jsoncpp/include/json/writer.h Diff Switch to side-by-side view
Loading...
/trunk/jsoncpp/src/lib_json/json_reader.cpp Diff Switch to side-by-side view
Loading...
/trunk/jsoncpp/src/lib_json/json_value.cpp Diff Switch to side-by-side view
Loading...
/trunk/jsoncpp/src/lib_json/json_writer.cpp Diff Switch to side-by-side view
Loading...
MongoDB Logo MongoDB