Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 23, 2015, 10:21:04 PM (8 years ago)
Author:
landauf
Message:

added 'override' to inherited virtual functions in unittests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/cpp11_v2/test/core/class/SuperTest.cc

    r10765 r10846  
    1919                }
    2020
    21                 virtual void changedName()
     21                virtual void changedName() override
    2222                {
    2323                    this->changedNameBase_ = true;
    2424                }
    2525
    26                 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode)
     26                virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode) override
    2727                {
    2828                    this->xmlPortBase_ = true;
     
    4343                }
    4444
    45                 virtual void changedName()
     45                virtual void changedName() override
    4646                {
    4747                    this->changedNameSubclass_ = true;
     
    5050                }
    5151
    52                 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode)
     52                virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode) override
    5353                {
    5454                    this->xmlPortSubclass_ = true;
     
    7070        {
    7171            public:
    72                 virtual void SetUp()
     72                virtual void SetUp() override
    7373                {
    7474                    new IdentifierManager();
     
    7979                }
    8080
    81                 virtual void TearDown()
     81                virtual void TearDown() override
    8282                {
    8383                    IdentifierManager::getInstance().destroyClassHierarchy();
Note: See TracChangeset for help on using the changeset viewer.