From fbadcf6718bf534e99ea9a0b954ba019866bce71 Mon Sep 17 00:00:00 2001 From: Dariush Hasanpour Date: Sat, 5 Jun 2021 18:39:39 +0430 Subject: [PATCH] making the repo suitable for having it as submodule --- bench/run.cpp | 4 ++-- include/{gzip => }/compress.hpp | 2 +- include/{gzip => }/config.hpp | 0 include/{gzip => }/decompress.hpp | 2 +- include/{gzip => }/utils.hpp | 0 include/{gzip => }/version.hpp | 0 test/test_io.cpp | 6 +++--- test/test_version.cpp | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) rename include/{gzip => }/compress.hpp (99%) rename include/{gzip => }/config.hpp (100%) rename include/{gzip => }/decompress.hpp (99%) rename include/{gzip => }/utils.hpp (100%) rename include/{gzip => }/version.hpp (100%) diff --git a/bench/run.cpp b/bench/run.cpp index 8f78de0..3870f05 100644 --- a/bench/run.cpp +++ b/bench/run.cpp @@ -1,7 +1,7 @@ #include #include -#include -#include +#include "compress.hpp" +#include "decompress.hpp" static std::string open_file(std::string const& filename) { diff --git a/include/gzip/compress.hpp b/include/compress.hpp similarity index 99% rename from include/gzip/compress.hpp rename to include/compress.hpp index 2ec56c2..948d577 100644 --- a/include/gzip/compress.hpp +++ b/include/compress.hpp @@ -1,4 +1,4 @@ -#include +#include "config.hpp" // zlib #include diff --git a/include/gzip/config.hpp b/include/config.hpp similarity index 100% rename from include/gzip/config.hpp rename to include/config.hpp diff --git a/include/gzip/decompress.hpp b/include/decompress.hpp similarity index 99% rename from include/gzip/decompress.hpp rename to include/decompress.hpp index b70670f..d38b759 100644 --- a/include/gzip/decompress.hpp +++ b/include/decompress.hpp @@ -1,4 +1,4 @@ -#include +#include "config.hpp" // zlib #include diff --git a/include/gzip/utils.hpp b/include/utils.hpp similarity index 100% rename from include/gzip/utils.hpp rename to include/utils.hpp diff --git a/include/gzip/version.hpp b/include/version.hpp similarity index 100% rename from include/gzip/version.hpp rename to include/version.hpp diff --git a/test/test_io.cpp b/test/test_io.cpp index 61d7341..f02f5f8 100644 --- a/test/test_io.cpp +++ b/test/test_io.cpp @@ -1,9 +1,9 @@ #include #include #include -#include -#include -#include +#include "compress.hpp" +#include "decompress.hpp" +#include "utils.hpp" TEST_CASE("successful compress") { diff --git a/test/test_version.cpp b/test/test_version.cpp index 342699b..c5b3c9f 100644 --- a/test/test_version.cpp +++ b/test/test_version.cpp @@ -1,5 +1,5 @@ #include -#include +#include "version.hpp" TEST_CASE("test version") {