Skip to content

Commit

Permalink
Address PR comment (removed change unneeded in backport).
Browse files Browse the repository at this point in the history
  • Loading branch information
greg7mdp committed Jul 3, 2023
1 parent 1111fee commit 7988549
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions libraries/libfc/include/fc/time.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#pragma once
#include <stdint.h>
#include <fc/string.hpp>
#include <limits>

#ifdef _MSC_VER
#pragma warning (push)
Expand All @@ -12,7 +11,7 @@ namespace fc {
class microseconds {
public:
constexpr explicit microseconds( int64_t c = 0) :_count(c){}
static constexpr microseconds maximum() { return microseconds(std::numeric_limits<int64_t>::max()); }
static constexpr microseconds maximum() { return microseconds(0x7fffffffffffffffll); }
friend constexpr microseconds operator + (const microseconds& l, const microseconds& r ) { return microseconds(l._count+r._count); }
friend constexpr microseconds operator - (const microseconds& l, const microseconds& r ) { return microseconds(l._count-r._count); }

Expand Down

0 comments on commit 7988549

Please sign in to comment.