From 95ce4f2bc20432585b91c46f031a73a64f5f18ef Mon Sep 17 00:00:00 2001 From: Philip Top Date: Sun, 6 Nov 2016 07:38:16 -0800 Subject: [PATCH] Update zmq.hpp add const to what function of error_t --- zmq.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zmq.hpp b/zmq.hpp index 92c7123..28dc67b 100644 --- a/zmq.hpp +++ b/zmq.hpp @@ -119,7 +119,7 @@ namespace zmq error_t () : errnum (zmq_errno ()) {} #ifdef ZMQ_CPP11 - virtual const char *what () noexcept + virtual const char *what () const noexcept { return zmq_strerror (errnum); }