From: Mikko Rasa Date: Thu, 19 Nov 2015 09:36:10 +0000 (+0200) Subject: Fix exception description X-Git-Url: http://git.tdb.fi/?p=libs%2Fgltk.git;a=commitdiff_plain;h=c90e083d1b6c9ce754765a38bf2c14de89993ed5 Fix exception description --- diff --git a/source/layout.cpp b/source/layout.cpp index 02e1ec4..b4cd768 100644 --- a/source/layout.cpp +++ b/source/layout.cpp @@ -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);