Skip to content

Commit

Permalink
remove wrong static
Browse files Browse the repository at this point in the history
Fixes -Wunused-template warnings.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
  • Loading branch information
neheb authored and KarlStraussberger committed Jul 17, 2021
1 parent 1ca7c7e commit c8e2bbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/tools.h
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ std::string getMTFromProtocolInfo(std::string_view protocol);
std::string getProtocol(const std::string& protocolInfo);

template <typename TP>
static std::chrono::seconds to_seconds(TP tp)
std::chrono::seconds to_seconds(TP tp)
{
auto asSystemTime = std::chrono::time_point_cast<std::chrono::system_clock::duration>(tp - TP::clock::now()
+ std::chrono::system_clock::now());
Expand Down

0 comments on commit c8e2bbe

Please sign in to comment.