Make cppcheck not complain about "'operator=' should return something"

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
This commit is contained in:
Martin Sustrik
2011-01-13 11:44:23 +01:00
parent 7051387108
commit 18f29ded6a
52 changed files with 59 additions and 55 deletions

View File

@@ -111,6 +111,10 @@ namespace zmq
char *write_buf;
int64_t write_buf_start_addr;
// Disable copying of the swap object.
swap_t (const swap_t&);
const swap_t &operator = (const swap_t&);
};
}