diff options
author | Michal Jarzabek <stiopa@gmail.com> | 2015-05-11 18:46:12 +0200 |
---|---|---|
committer | Michal Jarzabek <stiopa@gmail.com> | 2015-06-09 08:26:56 +0200 |
commit | 83f819877fd421eb5e346f749dcc648c42da84c3 (patch) | |
tree | 66a946ba30daf6b3a016d933638114c874398395 /src/rgw/rgw_cors.h | |
parent | Merge pull request #4880 from SUSE/wip-master-specfile-cleanup2 (diff) | |
download | ceph-83f819877fd421eb5e346f749dcc648c42da84c3.tar.xz ceph-83f819877fd421eb5e346f749dcc648c42da84c3.zip |
Removed unnecessary inclusion of iostream
In several files the iostream wasn't being used, so it got removed.
In other files the iostream inclusion was replaced by including iosfwd
(for forward declarations), which is much smaller header than iostream,
so in theory should reduce compilation time.
To make this work some of the functions must have been moved from .h to .cc file.
3 functions also needed to have inline removed - this shouldn't affect
performance in any way: two of them are
probably too long to have been inlined anyway and the third one is for
error reporting, so probably won't be called too often.
test/Makefile-client.am: added linker libs
This was required to avoid linker error when linking
src/test/cls_rbd/test_cls_rbd.cc file. Makefile was specyfing
libcommon.a as a part of a linker command even though this wasn't
required and wasn't being linked against. When inline functions from
buffer.h were moved to buffer.cc(and inline was removed) the
libcommon.a library became necessary. This wouldn't link without also
including additional libraries(CRYPTO_LIBS and EXTRA_LIBS)
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
Diffstat (limited to 'src/rgw/rgw_cors.h')
-rw-r--r-- | src/rgw/rgw_cors.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/rgw/rgw_cors.h b/src/rgw/rgw_cors.h index 124ebf92a7f..239cfd7332f 100644 --- a/src/rgw/rgw_cors.h +++ b/src/rgw/rgw_cors.h @@ -17,7 +17,6 @@ #include <map> #include <string> -#include <iostream> #include <include/types.h> #define RGW_CORS_GET 0x1 |