Skip to content

Commit

Permalink
YARP_OS: fix const correctness of PortWriter::getWriteType()
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicogene committed May 26, 2018
1 parent 0378d54 commit 7a272ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libYARP_OS/include/yarp/os/PortWriter.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class YARP_OS_API yarp::os::PortWriter {
*/
virtual void onCommencement();

virtual Type getWriteType() { return Type::anon(); }
virtual Type getWriteType() const { return Type::anon(); }
};

#endif // YARP_OS_PORTWRITER_H

0 comments on commit 7a272ae

Please sign in to comment.