From b6fa65d38fa9b8a95d8028e0ec811b44808e11a8 Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Sat, 16 Dec 2017 10:59:51 -0500 Subject: Avoid using @deprecated annotation here Clang's documentation checker complains since it's not actually annotated as deprecated. Change comment to just indicate that it is not a public API function and will be removed in the future. --- src/lib/pubkey/xmss/xmss_tools.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/lib/pubkey/xmss/xmss_tools.h b/src/lib/pubkey/xmss/xmss_tools.h index 6e45e882d..e9f877eae 100644 --- a/src/lib/pubkey/xmss/xmss_tools.h +++ b/src/lib/pubkey/xmss/xmss_tools.h @@ -60,7 +60,9 @@ class XMSS_Tools final static void concat(secure_vector& target, const T& src, size_t len); /** - * @deprecated Determines the maximum number of threads to be used + * Not a public API function - will be removed in a future release. + * + * Determines the maximum number of threads to be used * efficiently, based on runtime timining measurements. Ideally the * result will correspond to the physical number of cores. On systems * supporting simultaneous multi threading (SMT) @@ -83,7 +85,7 @@ class XMSS_Tools final private: XMSS_Tools(); /** - * @deprecated Measures the time t1 it takes to calculate hashes using + * Measures the time t1 it takes to calculate hashes using * std::thread::hardware_concurrency() many threads and the time t2 * calculating the same number of hashes using * std::thread::hardware_concurrency() / 2 threads. -- cgit v1.2.3