mirror of
https://github.com/zeromq/libzmq.git
synced 2025-11-07 05:58:45 +01:00
Problem: non-modifying member functions not marked as const/static
Solution: add const/static
This commit is contained in:
@@ -179,7 +179,7 @@ template <typename T, int N> class yqueue_t
|
||||
chunk_t *next;
|
||||
};
|
||||
|
||||
inline chunk_t *allocate_chunk ()
|
||||
static inline chunk_t *allocate_chunk ()
|
||||
{
|
||||
#ifdef HAVE_POSIX_MEMALIGN
|
||||
void *pv;
|
||||
|
||||
Reference in New Issue
Block a user