Skip to content

Commit

Permalink
Fix Lint broken by b662a45
Browse files Browse the repository at this point in the history
  • Loading branch information
nerzhul committed Apr 29, 2017
1 parent 1ecc875 commit ecf0825
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/gettime.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include <time.h>
#include <string>


enum TimePrecision
{
PRECISION_SECONDS,
Expand All @@ -33,7 +32,6 @@ enum TimePrecision
PRECISION_NANO
};


inline std::string getTimestamp()
{
time_t t = time(NULL);
Expand Down

2 comments on commit ecf0825

@sfan5
Copy link
Member

@sfan5 sfan5 commented on ecf0825 Apr 29, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's just some empty lines
Linting sure is fragile...

@nerzhul
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, it's very very strong, having in in a pre-commit hook permit to prevent this, it's a good thing, but we really should ensure the whole project match rules

Please sign in to comment.