summaryrefslogtreecommitdiff
path: root/i/marvin/src/serial/serial.hh
diff options
context:
space:
mode:
Diffstat (limited to 'i/marvin/src/serial/serial.hh')
-rw-r--r--i/marvin/src/serial/serial.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/i/marvin/src/serial/serial.hh b/i/marvin/src/serial/serial.hh
index 23feb42..d66971e 100644
--- a/i/marvin/src/serial/serial.hh
+++ b/i/marvin/src/serial/serial.hh
@@ -58,7 +58,7 @@ class Serial
/// millisecondes.
bool wait (int timeout = -1) { return sb_->wait (timeout); }
/// Récupère le descripteur.
- int getFd (void) { return sb_->getFd (); }
+ int getFd (void) const { return sb_->getFd (); }
};
#endif // serial_hh