summaryrefslogtreecommitdiff
path: root/2005/i/robert/src
diff options
context:
space:
mode:
Diffstat (limited to '2005/i/robert/src')
-rw-r--r--2005/i/robert/src/proto/proto.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/2005/i/robert/src/proto/proto.hh b/2005/i/robert/src/proto/proto.hh
index 7b249d1..7ee5390 100644
--- a/2005/i/robert/src/proto/proto.hh
+++ b/2005/i/robert/src/proto/proto.hh
@@ -81,7 +81,7 @@ class Proto : public NonCopyable
/// Envois un packet. COMMAND est la commande à envoyer, FORMAT, donne le
/// format et le nombre de paramètres ('b' : 8 bits, 'w' : 16 bits, 'd' :
/// 32 bits, majuscule pour signé).
- void send (char command, const char *format = 0, int a0 = 0, int a1 = 0,
+ void send (char command, const char *format = "", int a0 = 0, int a1 = 0,
int a2 = 0, int a3 = 0, bool reliable = true);
/// permet d'envoyer un packet robert
void Proto::sendUnreliable (char command, const char *format, int a0,
@@ -107,6 +107,7 @@ class Proto : public NonCopyable
class Receiver
{
public:
+ virtual ~Receiver(void) {};
/// Recoit un packet.
virtual void receive (char command, const Frame &frame) = 0;
};