diff options
author | Noel Grandin <noel@peralex.com> | 2014-06-12 14:06:28 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-06-17 10:55:17 +0200 |
commit | 3e82897353e576dc6e3fbf55371fda5a0c3415df (patch) | |
tree | 71c2f03128885000efae1852dccb504f8355c79e /idlc | |
parent | ec95abf2d8afeec38c9225ea49caa0e08d82b504 (diff) |
improve the inlinesimplememberfunctions clang plugin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
Diffstat (limited to 'idlc')
-rw-r--r-- | idlc/inc/idlc/options.hxx | 2 | ||||
-rw-r--r-- | idlc/source/options.cxx | 4 |
2 files changed, 1 insertions, 5 deletions
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) { |