X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fio%2Fseek.cpp;h=c0b65cabb30cd16dbf2bfaa2ee192d04fe861e83;hp=b10c5a0c27aa966add8703e739da11d0819efff2;hb=8f2711fba7a2817840038630d9cf9a2060ecbe8e;hpb=c7afef88380ebebc8c2b04e48664d73281ec8848 diff --git a/source/io/seek.cpp b/source/io/seek.cpp index b10c5a0..c0b65ca 100644 --- a/source/io/seek.cpp +++ b/source/io/seek.cpp @@ -1,9 +1,11 @@ #ifdef WIN32 #include #endif -#include "except.h" +#include #include "seek.h" +using namespace std; + namespace Msp { namespace IO { @@ -25,7 +27,7 @@ int sys_seek_type(SeekType st) return SEEK_END; #endif - throw InvalidParameterValue("Invalid seek type"); + throw invalid_argument("Invalid seek type"); } } // namespace IO