Fix build on Intel C/C++ Compiler for Linux.

This commit is contained in:
Adam Ierymenko 2018-02-01 12:46:35 -08:00
parent d6e8a5f3ca
commit fe1fa20c6c
7 changed files with 7980 additions and 7068 deletions

View file

@ -816,7 +816,7 @@ public:
* @param sock Stream connection socket
* @param notifyWritable Want writable notifications?
*/
inline const void setNotifyWritable(PhySocket *sock,bool notifyWritable)
inline void setNotifyWritable(PhySocket *sock,bool notifyWritable)
{
PhySocketImpl &sws = *(reinterpret_cast<PhySocketImpl *>(sock));
if (notifyWritable) {
@ -836,7 +836,7 @@ public:
* @param sock Socket to modify
* @param notifyReadable True if socket should be monitored for readability
*/
inline const void setNotifyReadable(PhySocket *sock,bool notifyReadable)
inline void setNotifyReadable(PhySocket *sock,bool notifyReadable)
{
PhySocketImpl &sws = *(reinterpret_cast<PhySocketImpl *>(sock));
if (notifyReadable) {