summaryrefslogtreecommitdiffstats
path: root/src/compressor/CompressionPlugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compressor/CompressionPlugin.h')
-rw-r--r--src/compressor/CompressionPlugin.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/compressor/CompressionPlugin.h b/src/compressor/CompressionPlugin.h
index 5e0ed777b85..2a21f2fef27 100644
--- a/src/compressor/CompressionPlugin.h
+++ b/src/compressor/CompressionPlugin.h
@@ -22,22 +22,23 @@
#include <iostream>
#include "common/PluginRegistry.h"
+#include "include/common_fwd.h"
#include "Compressor.h"
namespace ceph {
class CompressionPlugin : public Plugin {
public:
- CompressorRef compressor;
+ TOPNSPC::CompressorRef compressor;
- explicit CompressionPlugin(CephContext *cct) : Plugin(cct),
- compressor(0)
+ explicit CompressionPlugin(CephContext *cct)
+ : Plugin(cct)
{}
~CompressionPlugin() override {}
- virtual int factory(CompressorRef *cs,
- std::ostream *ss) = 0;
+ virtual int factory(TOPNSPC::CompressorRef *cs,
+ std::ostream *ss) = 0;
virtual const char* name() {return "CompressionPlugin";}
};