ceph/src/crush
Kefu Chai c8ca98ed02 crush: pass by const reference to kill compiling error
i have following error when compiling with gcc-6 on armhf

ceph/src/crush/CrushCompiler.cc: In member function 'int
CrushCompiler::decompile(std::ostream&)':
ceph/src/crush/CrushCompiler.cc:462:45: error: invalid initialization of
non-const reference of type 'std::pair<const long unsigned int,
crush_choo
se_arg_map>&' from an rvalue of type 'std::pair<const long unsigned int,
crush_choose_arg_map>'
       int ret = decompile_choose_args(i, out);

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-05-01 15:45:42 +08:00
..
builder.c crush: builder: legacy has chooseleaf_stable = 0 2017-04-20 22:25:53 +02:00
builder.h crush: builder: documentation that crush_create() sets optimal values 2017-04-20 22:26:04 +02:00
crush_compat.h
crush_ln_table.h
crush.c
crush.h crush: implement weight and id overrides for straw2 2017-04-18 09:39:42 +02:00
CrushCompiler.cc crush: pass by const reference to kill compiling error 2017-05-01 15:45:42 +08:00
CrushCompiler.h crush: pass by const reference to kill compiling error 2017-05-01 15:45:42 +08:00
CrushLocation.cc
CrushLocation.h
CrushTester.cc crush: add per pool choose_args when calling do_rule 2017-04-18 09:39:43 +02:00
CrushTester.h
CrushTreeDumper.h common: add override in header file 2017-03-03 19:21:44 +08:00
CrushWrapper.cc crush: implement CrushWrapper::dump(choose_args) 2017-04-18 09:45:13 +02:00
CrushWrapper.h crush: templatize weights arg for do_rule 2017-04-25 09:11:50 -04:00
CrushWrapper.i
grammar.h crush: compile/decompile crush_choose_arg_map 2017-04-18 09:45:03 +02:00
hash.c
hash.h
mapper.c crush: crush_init_workspace starts with struct crush_work 2017-04-20 22:30:49 +02:00
mapper.h crush: implement weight and id overrides for straw2 2017-04-18 09:39:42 +02:00
old_sample.txt
sample.txt
types.h