summaryrefslogtreecommitdiff
path: root/i/siroco/src/message.cc
diff options
context:
space:
mode:
authorgalmes2004-01-14 16:51:29 +0000
committergalmes2004-01-14 16:51:29 +0000
commit925e0c458e2a7cf5a495b59653758e85a6f52f99 (patch)
tree23d2b93582a484a8c43694abb231b6ca900be927 /i/siroco/src/message.cc
parent38ebaee86d56fcc8ff3d0f0b5451285d003f12f6 (diff)
Ajout d'un programme de test pour message.h
Diffstat (limited to 'i/siroco/src/message.cc')
-rw-r--r--i/siroco/src/message.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/i/siroco/src/message.cc b/i/siroco/src/message.cc
index dac54a2..67cdde2 100644
--- a/i/siroco/src/message.cc
+++ b/i/siroco/src/message.cc
@@ -29,8 +29,8 @@ namespace Siroco
// Constructeur.
Message::Message (Type type)
- : type_ (type)
{
+ type_ = type;
}
// Destructeur et Big 3.
@@ -40,7 +40,7 @@ Message::~Message (void)
// Récupère le type du message.
Type
-Message::getType (void) const
+Message::getType (void) const
{
return type_;
}