win32/HResult: use [[gnu::const]]
This commit is contained in:
parent
6cc532c9a0
commit
76177dbc79
|
@ -23,7 +23,6 @@
|
|||
#endif
|
||||
|
||||
#include "HResult.hxx"
|
||||
#include "system/Error.hxx"
|
||||
|
||||
#include <cassert>
|
||||
#include <cstdio>
|
||||
|
|
|
@ -20,14 +20,12 @@
|
|||
#ifndef MPD_WIN32_HRESULT_HXX
|
||||
#define MPD_WIN32_HRESULT_HXX
|
||||
|
||||
#include "util/Compiler.h"
|
||||
|
||||
#include <string_view>
|
||||
#include <system_error>
|
||||
|
||||
#include <windef.h>
|
||||
|
||||
gcc_const
|
||||
[[gnu::const]]
|
||||
std::string_view
|
||||
HRESULTToString(HRESULT result) noexcept;
|
||||
|
||||
|
|
Loading…
Reference in New Issue