more [[gnu::...]] attributes
This commit is contained in:
@@ -20,8 +20,6 @@
|
||||
#ifndef MPD_ICU_WIN32_HXX
|
||||
#define MPD_ICU_WIN32_HXX
|
||||
|
||||
#include "util/Compiler.h"
|
||||
|
||||
#include <string_view>
|
||||
|
||||
class AllocatedString;
|
||||
@@ -30,14 +28,14 @@ template<typename T> class BasicAllocatedString;
|
||||
/**
|
||||
* Throws std::system_error on error.
|
||||
*/
|
||||
gcc_pure gcc_nonnull_all
|
||||
[[gnu::pure]]
|
||||
AllocatedString
|
||||
WideCharToMultiByte(unsigned code_page, std::wstring_view src);
|
||||
|
||||
/**
|
||||
* Throws std::system_error on error.
|
||||
*/
|
||||
gcc_pure gcc_nonnull_all
|
||||
[[gnu::pure]]
|
||||
BasicAllocatedString<wchar_t>
|
||||
MultiByteToWideChar(unsigned code_page, std::string_view src);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user