X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fselect.cpp;h=67420977323597738ebfac564c8c9514ce637799;hb=a361efc05fcad11b2918f3cd7abdebe794b131d8;hp=f19dd3ef62819c4f32d5356b7c838a3294e3e5a3;hpb=f098a871fc6dc7b61a5aca5581fa327e4124c036;p=libs%2Fgl.git diff --git a/source/select.cpp b/source/select.cpp index f19dd3ef..67420977 100644 --- a/source/select.cpp +++ b/source/select.cpp @@ -6,7 +6,7 @@ Distributed under the LGPL */ #include -#include "error.h" +#include "except.h" #include "select.h" using namespace std; @@ -52,7 +52,7 @@ void parse_select_records(const uint *buf, uint count, vector &tbu void _parse_internal_select_records(uint count) { if(!select_buf) - throw InvalidOperation("No select buffer specified"); + throw InvalidState("No select buffer specified"); parse_select_records(&select_buf_int[0], count, *select_buf); }