summaryrefslogtreecommitdiff
path: root/i/marvin/src/proto
diff options
context:
space:
mode:
Diffstat (limited to 'i/marvin/src/proto')
-rw-r--r--i/marvin/src/proto/proto.cc2
-rw-r--r--i/marvin/src/proto/proto.hh2
2 files changed, 2 insertions, 2 deletions
diff --git a/i/marvin/src/proto/proto.cc b/i/marvin/src/proto/proto.cc
index 216a345..50e363d 100644
--- a/i/marvin/src/proto/proto.cc
+++ b/i/marvin/src/proto/proto.cc
@@ -221,7 +221,7 @@ Proto::wait (int timeout/*-1*/)
}
/// Récupère le File Descriptor
-int Proto::getFd(void)
+int Proto::getFd(void) const
{
return serial_.getFd();
}
diff --git a/i/marvin/src/proto/proto.hh b/i/marvin/src/proto/proto.hh
index 8979a3d..340b1fb 100644
--- a/i/marvin/src/proto/proto.hh
+++ b/i/marvin/src/proto/proto.hh
@@ -108,7 +108,7 @@ class Proto : public NonCopyable
/// fonction bloquante, n'utiliser que pour les tests.
bool wait (int timeout = -1);
/// Récupère le File Descriptor
- int getFd(void);
+ int getFd(void) const;
public:
/// Les clients de Proto doivent dériver de Receiver.