mirror of
https://github.com/catchorg/Catch2.git
synced 2025-06-02 01:47:57 +00:00
Changed "const X ref"s to "X const ref"s
- Brought older code up to current convention (with the help of a Python script)
This commit is contained in:
parent
d0d4d93a6b
commit
2a9d8d9e36
44 changed files with 297 additions and 297 deletions
|
@ -20,16 +20,16 @@ namespace Catch {
|
|||
|
||||
class RegistryHub : public IRegistryHub, public IMutableRegistryHub {
|
||||
|
||||
RegistryHub( const RegistryHub& );
|
||||
void operator=( const RegistryHub& );
|
||||
RegistryHub( RegistryHub const& );
|
||||
void operator=( RegistryHub const& );
|
||||
|
||||
public: // IRegistryHub
|
||||
RegistryHub() {
|
||||
}
|
||||
virtual const IReporterRegistry& getReporterRegistry() const {
|
||||
virtual IReporterRegistry const& getReporterRegistry() const {
|
||||
return m_reporterRegistry;
|
||||
}
|
||||
virtual const ITestCaseRegistry& getTestCaseRegistry() const {
|
||||
virtual ITestCaseRegistry const& getTestCaseRegistry() const {
|
||||
return m_testCaseRegistry;
|
||||
}
|
||||
virtual IExceptionTranslatorRegistry& getExceptionTranslatorRegistry() {
|
||||
|
@ -37,10 +37,10 @@ namespace Catch {
|
|||
}
|
||||
|
||||
public: // IMutableRegistryHub
|
||||
virtual void registerReporter( const std::string& name, IReporterFactory* factory ) {
|
||||
virtual void registerReporter( std::string const& name, IReporterFactory* factory ) {
|
||||
m_reporterRegistry.registerReporter( name, factory );
|
||||
}
|
||||
virtual void registerTest( const TestCase& testInfo ) {
|
||||
virtual void registerTest( TestCase const& testInfo ) {
|
||||
m_testCaseRegistry.registerTest( testInfo );
|
||||
}
|
||||
virtual void registerTranslator( const IExceptionTranslator* translator ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue