more [[gnu::...]] attributes
This commit is contained in:
@@ -31,7 +31,6 @@
|
||||
#define GCRYPT_HASH_HXX
|
||||
|
||||
#include "util/ConstBuffer.hxx"
|
||||
#include "util/Compiler.h"
|
||||
|
||||
#include <gcrypt.h>
|
||||
|
||||
@@ -40,7 +39,7 @@
|
||||
namespace Gcrypt {
|
||||
|
||||
template<int algo, size_t size>
|
||||
gcc_pure
|
||||
[[gnu::pure]]
|
||||
auto
|
||||
Hash(ConstBuffer<void> input) noexcept
|
||||
{
|
||||
|
@@ -31,7 +31,6 @@
|
||||
#define GCRYPT_MD5_HXX
|
||||
|
||||
#include "util/StringBuffer.hxx"
|
||||
#include "util/Compiler.h"
|
||||
|
||||
#include <array>
|
||||
#include <cstdint>
|
||||
@@ -40,7 +39,7 @@ template<typename T> struct ConstBuffer;
|
||||
|
||||
namespace Gcrypt {
|
||||
|
||||
gcc_pure
|
||||
[[gnu::pure]]
|
||||
std::array<uint8_t, 16>
|
||||
MD5(ConstBuffer<void> input) noexcept;
|
||||
|
||||
|
Reference in New Issue
Block a user