Seastar::seastar does pull in libfmt library as a PUBLIC linkage. but we
should not depend on this. if we use fmt directly, we should link against it.
Signed-off-by: Kefu Chai <kchai@redhat.com>
pg.cc
pg_meta.cc)
target_link_libraries(crimson-osd
- crimson-common crimson-os crimson)
+ crimson-common crimson-os crimson fmt::fmt)
-#include "include/buffer.h"
+#include <iostream>
#include <seastar/core/app-template.hh>
#include <seastar/core/future-util.hh>
#include <seastar/core/reactor.hh>
+#include "include/buffer.h"
// allocate a foreign buffer on each cpu, collect them all into a bufferlist,
// and destruct it on this cpu