Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
*
*/
-#include <errno.h>
#include <algorithm>
+#include <cerrno>
#include "ErasureCode.h"
#define DEFAULT_RULE_ROOT "default"
#define DEFAULT_RULE_FAILURE_DOMAIN "host"
+using std::make_pair;
+using std::map;
+using std::ostream;
+using std::pair;
+using std::set;
+using std::string;
+using std::vector;
+
+using ceph::bufferlist;
+
+namespace ceph {
const unsigned ErasureCode::SIMD_ALIGN = 32;
int ErasureCode::init(
}
return r;
}
+}
~ErasureCode() override {}
- int init(ErasureCodeProfile &profile, std::ostream *ss) override;
+ int init(ceph::ErasureCodeProfile &profile, std::ostream *ss) override;
const ErasureCodeProfile &get_profile() const override {
return _profile;