diff options
-rw-r--r-- | project2/compression/gzip.cpp | 2 | ||||
-rw-r--r-- | project2/ice/iceConvert.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/project2/compression/gzip.cpp b/project2/compression/gzip.cpp index 973e4d6..de80401 100644 --- a/project2/compression/gzip.cpp +++ b/project2/compression/gzip.cpp @@ -34,7 +34,7 @@ class GZip : public Decompressor { switch (status) { case Z_NEED_DICT: status = Z_DATA_ERROR; - // fall-through + [[ fallthrough ]]; case Z_DATA_ERROR: case Z_MEM_ERROR: throw std::runtime_error("inflate failed"); diff --git a/project2/ice/iceConvert.h b/project2/ice/iceConvert.h index 4eff923..c22d655 100644 --- a/project2/ice/iceConvert.h +++ b/project2/ice/iceConvert.h @@ -3,7 +3,7 @@ #include <variableType.h> #include <IceUtil/Exception.h> -#include <IceUtil/Optional.h> +#include <Ice/Optional.h> #include <visibility.h> template <typename IceType> |