summaryrefslogtreecommitdiff
path: root/osdep/Phy.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2018-02-01 12:46:35 -0800
committerAdam Ierymenko <adam.ierymenko@gmail.com>2018-02-01 12:46:35 -0800
commitfe1fa20c6c8c83762caba1056bcceb207d531a22 (patch)
treec23530e9491d508d23b54dd376f05d0aa66b1cf0 /osdep/Phy.hpp
parentd6e8a5f3ca2ecc78c5c8542356099912cbffb552 (diff)
downloadinfinitytier-fe1fa20c6c8c83762caba1056bcceb207d531a22.tar.gz
infinitytier-fe1fa20c6c8c83762caba1056bcceb207d531a22.zip
Fix build on Intel C/C++ Compiler for Linux.
Diffstat (limited to 'osdep/Phy.hpp')
-rw-r--r--osdep/Phy.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/osdep/Phy.hpp b/osdep/Phy.hpp
index 243db0a8..e359ccdd 100644
--- a/osdep/Phy.hpp
+++ b/osdep/Phy.hpp
@@ -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) {