X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fresources.cpp;h=869885fecd97e77ae3719399c8fd53d6690baef7;hb=c1faa54a3218b53757b8b55de0ff8aa64412253b;hp=11fc1fabe8a0a467ba82019337cc2d2851674e42;hpb=8352d5f2590cfcb09e92854be211399105408c4d;p=libs%2Fgltk.git diff --git a/source/resources.cpp b/source/resources.cpp index 11fc1fa..869885f 100644 --- a/source/resources.cpp +++ b/source/resources.cpp @@ -1,4 +1,3 @@ -#include #include #include "resources.h" @@ -42,7 +41,7 @@ void Resources::set_path(const FS::Path &p) const GL::Font &Resources::get_default_font() const { if(!default_font) - throw InvalidState("No default font"); + throw logic_error("!default_font"); return *default_font; }