diff options
author | Denis Krjuchkov <denis@crazydev.net> | 2013-12-05 03:56:51 +0600 |
---|---|---|
committer | Denis Krjuchkov <denis@crazydev.net> | 2013-12-05 03:56:51 +0600 |
commit | b397c4618432dfed6779d657528eb15991cc4837 (patch) | |
tree | d981251142a0fb3d8411c5995d31b0a2d4bafa6f /src | |
parent | 0a6c4c31b2a9e79c9c0119202f9e50e123f98ac6 (diff) | |
download | mpd-b397c4618432dfed6779d657528eb15991cc4837.tar.gz mpd-b397c4618432dfed6779d657528eb15991cc4837.tar.xz mpd-b397c4618432dfed6779d657528eb15991cc4837.zip |
fs/Traits.hxx: add gcc_nonnull_all where applicable
Diffstat (limited to '')
-rw-r--r-- | src/fs/Traits.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fs/Traits.hxx b/src/fs/Traits.hxx index 9e8333238..45e4f7682 100644 --- a/src/fs/Traits.hxx +++ b/src/fs/Traits.hxx @@ -55,7 +55,7 @@ struct PathTraitsFS { ch == SEPARATOR; } - gcc_pure + gcc_pure gcc_nonnull_all static bool IsAbsolute(const_pointer p) { assert(p != nullptr); #ifdef WIN32 @@ -65,7 +65,7 @@ struct PathTraitsFS { return IsSeparator(*p); } - gcc_pure + gcc_pure gcc_nonnull_all static size_t GetLength(const_pointer p) { return strlen(p); } @@ -91,7 +91,7 @@ struct PathTraitsUTF8 { return ch == SEPARATOR; } - gcc_pure + gcc_pure gcc_nonnull_all static bool IsAbsolute(const char *p) { assert(p != nullptr); #ifdef WIN32 |