From eb6ab41720c02ee3fd1e4a6e6253f0abb362bb1e Mon Sep 17 00:00:00 2001 From: Christian Daniel Date: Tue, 12 Feb 2013 15:44:29 +0100 Subject: [PATCH] return something in operator= --- settings.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/settings.cpp b/settings.cpp index 335c459..dc0f779 100644 --- a/settings.cpp +++ b/settings.cpp @@ -36,6 +36,7 @@ Settings& Settings::operator=(const Settings& other) m_iqImbalanceCorrection = other.m_iqImbalanceCorrection; m_centerFrequency = other.m_centerFrequency; m_sourceSettings = other.m_sourceSettings; + return *this; } void Settings::defaults()