mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-26 02:18:06 +01:00
Make cppcheck not complain about "'operator=' should return something"
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
This commit is contained in:
@@ -59,7 +59,7 @@ namespace zmq
|
||||
int array_index;
|
||||
|
||||
array_item_t (const array_item_t&);
|
||||
void operator = (const array_item_t&);
|
||||
const array_item_t &operator = (const array_item_t&);
|
||||
};
|
||||
|
||||
// Fast array implementation with O(1) access to item, insertion and
|
||||
@@ -138,7 +138,7 @@ namespace zmq
|
||||
items_t items;
|
||||
|
||||
array_t (const array_t&);
|
||||
void operator = (const array_t&);
|
||||
const array_t &operator = (const array_t&);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user