diff --git a/SDL2pp/ExtraRWops.hh b/SDL2pp/ExtraRWops.hh index e680a86..ef13e77 100644 --- a/SDL2pp/ExtraRWops.hh +++ b/SDL2pp/ExtraRWops.hh @@ -23,7 +23,8 @@ #define SDL2PP_EXTRARWOPS_HH #include -#include + +#include namespace SDL2pp { @@ -54,7 +55,7 @@ public: position_ = container_.size() + offset; break; default: - throw Exception("Unexpected whence value for WritableMemRWops::Seek"); + throw std::logic_error("Unexpected whence value for ContainerRWops::Seek"); } return position_; } @@ -115,7 +116,7 @@ public: position_ = container_.size() + offset; break; default: - throw Exception("Unexpected whence value for WritableMemRWops::Seek"); + throw std::logic_error("Unexpected whence value for ConstContainerRWops::Seek"); } return position_; }