aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_otp.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2022-02-11 09:17:32 -0500
committerJack Lloyd <[email protected]>2022-02-11 09:35:36 -0500
commitf2bc40cd43d854d3dbace42b5475d9a67dbe28a5 (patch)
treeacbeb681d54c9ef9692b08c4810c5349041cc1f4 /src/tests/test_otp.cpp
parent6aead9863dc8dc902ba9682cee2cff14de2bf974 (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.cpp2
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);