diff options
Diffstat (limited to 'FileStrategy.cpp')
-rw-r--r-- | FileStrategy.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/FileStrategy.cpp b/FileStrategy.cpp index 777aef5..b76de50 100644 --- a/FileStrategy.cpp +++ b/FileStrategy.cpp @@ -1,9 +1,9 @@ #include <string> -#include "FileStrategy.h" #include "FileReader.h" +#include "FileReaderFactory.h" -FileStrategy::FileStrategy(const std::string protocol) { - FileReader::register_strategy(protocol, this); +FileReader::FileReader(const std::string protocol) { + FileReaderFactory::register_strategy(protocol, this); } |