Index: cmessage.h
===================================================================
--- cmessage.h	(revision 6062)
+++ cmessage.h	(working copy)
@@ -564,13 +564,13 @@
     /**
      * Returns time when the message was created.
      */
-    simtime_t getCreationTime() const {return created;}
+    const simtime_t& getCreationTime() const {return created;}
 
     /**
      * Returns time when the message was sent/scheduled or 0 if the message
      * hasn't been sent yet.
      */
-    simtime_t getSendingTime()  const {return sent;}
+    const simtime_t& getSendingTime()  const {return sent;}
 
     /**
      * Returns time when the message arrived (or will arrive if it
@@ -586,7 +586,7 @@
      *
      * @see getDuration()
      */
-    simtime_t getArrivalTime()  const {return delivd;}
+    const simtime_t& getArrivalTime()  const {return delivd;}
 
     /**
      * Return true if the message arrived through the given gate.
