#ifndef SIMGRID_S4U_MAILBOX_HPP
#define SIMGRID_S4U_MAILBOX_HPP
-#include <xbt/string.hpp>
+#include <simgrid/forward.h>
+
#include <simgrid/s4u/Actor.hpp>
+#include <xbt/string.hpp>
#include <string>
public:
/** private function, do not use. FIXME: make me protected */
- kernel::activity::MailboxImpl* get_impl() { return pimpl_; }
+ kernel::activity::MailboxImpl* get_impl() const { return pimpl_; }
/** @brief Retrieves the name of that mailbox as a C++ string */
const xbt::string& get_name() const;