diff options
author | Max Kellermann <max@musicpd.org> | 2017-01-08 10:41:07 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2017-01-08 10:41:08 +0100 |
commit | 44493ca0c4d32c78d185c998dc6d2f5e504f780c (patch) | |
tree | b56e0f7f6b225d0c7d8bacd78a5139c4deb68019 /src/util/TimeParser.hxx | |
parent | 42acf78b09676543ff7033b48d7e4649b3f4607a (diff) |
util/TimeParser: add "pure" attribute
Diffstat (limited to 'src/util/TimeParser.hxx')
-rw-r--r-- | src/util/TimeParser.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util/TimeParser.hxx b/src/util/TimeParser.hxx index 4c7c66a77..a956cadfc 100644 --- a/src/util/TimeParser.hxx +++ b/src/util/TimeParser.hxx @@ -30,6 +30,8 @@ #ifndef TIME_PARSER_HXX #define TIME_PARSER_HXX +#include "Compiler.h" + #include <chrono> /** @@ -37,6 +39,7 @@ * * Throws std::runtime_error on error. */ +gcc_pure std::chrono::system_clock::time_point ParseTimePoint(const char *s, const char *format); |