From c90e083d1b6c9ce754765a38bf2c14de89993ed5 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Thu, 19 Nov 2015 11:36:10 +0200 Subject: [PATCH] Fix exception description --- source/layout.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.45.2