Skip to content

Commit

Permalink
Remove invalid/stub FlowStat constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
JGRennison committed Nov 2, 2024
1 parent f4fda63 commit e0a92d5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/station_base.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,9 @@ class FlowStat {

/**
* Invalid constructor. This can't be called as a FlowStat must not be
* empty. However, the constructor must be defined and reachable for
* FlowStat to be used in a std::map.
* empty.
*/
inline FlowStat() {NOT_REACHED();}
FlowStat() = delete;

/**
* Create a FlowStat with an initial entry.
Expand Down

0 comments on commit e0a92d5

Please sign in to comment.