Commit 424f75c9 authored by Max Kellermann's avatar Max Kellermann

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

parent f6e1176f
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment