more [[gnu::...]] attributes
This commit is contained in:
@@ -20,12 +20,9 @@
|
||||
#ifndef MPD_LIGHT_DIRECTORY_HXX
|
||||
#define MPD_LIGHT_DIRECTORY_HXX
|
||||
|
||||
#include "util/Compiler.h"
|
||||
|
||||
#include <chrono>
|
||||
#include <string>
|
||||
|
||||
#include <time.h>
|
||||
|
||||
struct Tag;
|
||||
|
||||
/**
|
||||
@@ -53,7 +50,7 @@ struct LightDirectory {
|
||||
return *uri == 0;
|
||||
}
|
||||
|
||||
gcc_pure
|
||||
[[gnu::pure]]
|
||||
const char *GetPath() const noexcept {
|
||||
return uri;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user