]> git.tdb.fi Git - libs/gltk.git/commitdiff
Fix exception description
authorMikko Rasa <tdb@tdb.fi>
Thu, 19 Nov 2015 09:36:10 +0000 (11:36 +0200)
committerMikko Rasa <tdb@tdb.fi>
Thu, 19 Nov 2015 09:36:10 +0000 (11:36 +0200)
source/layout.cpp

index 02e1ec4479dd17643dbbc8056b8b578c8bac0adb..b4cd7683c6bc60d2b615c7c46323b773e4a668cf 100644 (file)
@@ -259,7 +259,7 @@ Layout::ConstraintType Layout::complement(ConstraintType type)
 void Layout::create_constraint(Widget &src, ConstraintType type, Widget &tgt, int sp)
 {
        if(&src==&tgt)
-               throw invalid_argument("&src==&tgt");
+               throw invalid_argument("Layout::create_constraint");
 
        Slot &src_slot = get_slot_for_widget(src);
        Slot &tgt_slot = get_slot_for_widget(tgt);