diff options
author | Jack Lloyd <[email protected]> | 2022-02-11 09:17:32 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2022-02-11 09:35:36 -0500 |
commit | f2bc40cd43d854d3dbace42b5475d9a67dbe28a5 (patch) | |
tree | acbeb681d54c9ef9692b08c4810c5349041cc1f4 /src/tests/test_otp.cpp | |
parent | 6aead9863dc8dc902ba9682cee2cff14de2bf974 (diff) |
Fix clang-tidy readability-convert-member-functions-to-static
Diffstat (limited to 'src/tests/test_otp.cpp')
-rw-r--r-- | src/tests/test_otp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/test_otp.cpp b/src/tests/test_otp.cpp index 282794620..e8aff33eb 100644 --- a/src/tests/test_otp.cpp +++ b/src/tests/test_otp.cpp @@ -109,7 +109,7 @@ class TOTP_KAT_Tests final : public Text_Based_Test } private: - std::chrono::system_clock::time_point from_timestring(const std::string& time_str) + static std::chrono::system_clock::time_point from_timestring(const std::string& time_str) { if(time_str.size() != 19) throw Test_Error("Invalid TOTP timestamp string " + time_str); |