X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fjukebox.cpp;h=d2a997d4cfffcf35f61f7e020183665b837f1492;hb=dfec8f9568d11c432038d55f3ceb35d59614777d;hp=95ca6a05e9e2656dab7d85708c98d07e0606cafd;hpb=2a685e572e2ab8d9f50129de3f0869628edb3d8e;p=libs%2Fal.git diff --git a/source/jukebox.cpp b/source/jukebox.cpp index 95ca6a0..d2a997d 100644 --- a/source/jukebox.cpp +++ b/source/jukebox.cpp @@ -1,13 +1,6 @@ -/* $Id$ - -This file is part of libmspal -Copyright © 2009 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #include #include -#include +#include #include "jukebox.h" #include "sound.h" @@ -63,7 +56,7 @@ void Jukebox::clear_tracks() const string &Jukebox::get_current_track() const { if(tracks.empty()) - throw InvalidState("No current track"); + throw logic_error("No current track"); return *current_track; }