mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 09:38:19 +00:00
More final markings.
These classes were recommended by gcc's -Wsugggest-final-types as places where large numbers of virtual functions could be optimized away.
This commit is contained in:
parent
9c89cd4a47
commit
4035ec7760
21 changed files with 26 additions and 27 deletions
|
@ -14,7 +14,7 @@ namespace threading { namespace formatter {
|
|||
* A thread-safe class for converting values into a JSON representation
|
||||
* and vice versa.
|
||||
*/
|
||||
class JSON : public Formatter {
|
||||
class JSON final : public Formatter {
|
||||
public:
|
||||
enum TimeFormat {
|
||||
TS_EPOCH, // Doubles that represents seconds from the UNIX epoch.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue