util/OffsetPointer: remove redundant `inline` keywords from `constexpr` functions

This commit is contained in:
Max Kellermann 2019-01-21 21:19:09 +01:00
parent f6e1176f97
commit 424f75c9e1
1 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@
/**
* Offset the given pointer by the specified number of bytes.
*/
static inline constexpr void *
constexpr void *
OffsetPointer(void *p, ptrdiff_t offset)
{
return (char *)p + offset;
@ -43,7 +43,7 @@ OffsetPointer(void *p, ptrdiff_t offset)
/**
* Offset the given pointer by the specified number of bytes.
*/
static inline constexpr const void *
constexpr const void *
OffsetPointer(const void *p, ptrdiff_t offset)
{
return (const char *)p + offset;