summaryrefslogtreecommitdiff
path: root/rsc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-01-20 12:38:10 +0200
committerNoel Grandin <noel@peralex.com>2015-01-26 08:42:28 +0200
commitb44cbb26efe1d0b0950b1e1613e131b506dc3876 (patch)
tree9b4d5d99e5dad0971079b997a02a6d96536709ca /rsc
parent26ad60aec69310fecd918f1c2e09056aa4782320 (diff)
new loplugin: change virtual methods to non-virtual
Where we can prove that the virtual method is never overriden. In the case of pure-virtual methods, we remove the method entirely. Sometimes this leads to entire methods and fields being eliminated. Change-Id: I138ef81c95f115dbd8c023a83cfc7e9d5d6d14ae
Diffstat (limited to 'rsc')
-rw-r--r--rsc/inc/rscerror.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/rsc/inc/rscerror.h b/rsc/inc/rscerror.h
index 7fb6e794fe8d..1d93491a3b1b 100644
--- a/rsc/inc/rscerror.h
+++ b/rsc/inc/rscerror.h
@@ -134,14 +134,14 @@ public:
void SetListFile( FILE * fList ){ fListing = fList; }
FILE * GetListFile(){ return fListing; }
RscVerbosity GetVerbosity() const { return m_verbosity; }
- virtual void StdOut( const char *, const RscVerbosity _verbosityLevel = RscVerbosityNormal );
- virtual void StdErr( const char * );
- virtual void LstOut( const char * );
- virtual void Error( const ERRTYPE& rError, RscTop* pClass, const RscId &aId,
+ void StdOut( const char *, const RscVerbosity _verbosityLevel = RscVerbosityNormal );
+ void StdErr( const char * );
+ void LstOut( const char * );
+ void Error( const ERRTYPE& rError, RscTop* pClass, const RscId &aId,
const char * pMessage = NULL );
// Dieser Fehler sollte nur im Compilermodus auftreten,
// das Programm wird mit exit() verlassen
- virtual void FatalError( const ERRTYPE& rError, const RscId &aId,
+ void FatalError( const ERRTYPE& rError, const RscId &aId,
const char * pMessage = NULL );
};