From 3e82897353e576dc6e3fbf55371fda5a0c3415df Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 12 Jun 2014 14:06:28 +0200 Subject: improve the inlinesimplememberfunctions clang plugin Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e --- idlc/inc/idlc/options.hxx | 2 +- idlc/source/options.cxx | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'idlc') diff --git a/idlc/inc/idlc/options.hxx b/idlc/inc/idlc/options.hxx index 5a1b40b2639c..887f0536d6b9 100644 --- a/idlc/inc/idlc/options.hxx +++ b/idlc/inc/idlc/options.hxx @@ -60,7 +60,7 @@ public: OString prepareHelp(); OString prepareVersion(); - const OString& getProgramName() const; + const OString& getProgramName() const { return m_program;} bool isValid(const OString& option); const OString& getOption(const OString& option) throw( IllegalArgument ); diff --git a/idlc/source/options.cxx b/idlc/source/options.cxx index 9a15ea795ca9..dfdb9bd291a9 100644 --- a/idlc/source/options.cxx +++ b/idlc/source/options.cxx @@ -418,10 +418,6 @@ OString Options::prepareVersion() return version; } -const OString& Options::getProgramName() const -{ - return m_program; -} bool Options::isValid(const OString& option) { -- cgit