• Abseil Team's avatar
    Googletest export · 9dce5e5d
    Abseil Team authored
    Use override instead of virtual for destructor
    
    https://google.github.io/styleguide/cppguide.html says: "Explicitly annotate overrides of virtual functions or virtual destructors with exactly one of an override or (less frequently) final specifier. Do not use virtual when declaring an override". The mocked class _should_ have a virtual destructor most of the times.
    
    PiperOrigin-RevId: 342082140
    9dce5e5d
cook_book.md 143 KB