From 163c38e175f7604ae5d1e3de20674f0da5e21b9c Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Mon, 8 Aug 2011 16:13:48 +0200 Subject: Always return from non-void functions This quiets a warning in Clang. --- src/utility.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/utility.h') diff --git a/src/utility.h b/src/utility.h index 497f79fa0..df151fd87 100644 --- a/src/utility.h +++ b/src/utility.h @@ -1456,6 +1456,8 @@ public: i.getNode()->getValue()); } + return *this; + } Settings & operator=(Settings &other) -- cgit v1.2.3