]> git.tdb.fi Git - builder.git/commitdiff
Fix an incorrect exception message
authorMikko Rasa <tdb@tdb.fi>
Sun, 8 Jul 2012 20:08:40 +0000 (23:08 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sun, 8 Jul 2012 21:08:54 +0000 (00:08 +0300)
source/gnuarchiver.cpp

index d75c627519694b03207847d3b0c671324c042546..4916408e312607e840cfc9314bc3ee8061b6e760 100644 (file)
@@ -30,7 +30,7 @@ Target *GnuArchiver::create_target(const list<Target *> &sources, const string &
                if(ObjectFile *obj = dynamic_cast<ObjectFile *>(*i))
                        objs.push_back(obj);
                else
-                       throw invalid_argument("GnuLinker::create_target");
+                       throw invalid_argument("GnuArchiver::create_target");
        }
 
        const Component &comp = objs.front()->get_component();