summaryrefslogtreecommitdiff
path: root/comm/Datagram.h
diff options
context:
space:
mode:
authorchatty1994-05-10 09:51:33 +0000
committerchatty1994-05-10 09:51:33 +0000
commitbdf4adcfb3fe40dc16f8dadde4da416cc8a5b8d2 (patch)
tree0516d69275007147206cea7e4d6393f12d240056 /comm/Datagram.h
parentf293314d175677862ac89b5bce61a1babbe45c26 (diff)
downloadivy-league-bdf4adcfb3fe40dc16f8dadde4da416cc8a5b8d2.zip
ivy-league-bdf4adcfb3fe40dc16f8dadde4da416cc8a5b8d2.tar.gz
ivy-league-bdf4adcfb3fe40dc16f8dadde4da416cc8a5b8d2.tar.bz2
ivy-league-bdf4adcfb3fe40dc16f8dadde4da416cc8a5b8d2.tar.xz
Removed useless default constructor
replaced TRUE/FALSE by true/false
Diffstat (limited to 'comm/Datagram.h')
-rw-r--r--comm/Datagram.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/comm/Datagram.h b/comm/Datagram.h
index 3ac6b36..954f1e2 100644
--- a/comm/Datagram.h
+++ b/comm/Datagram.h
@@ -21,9 +21,9 @@
class UchDatagram : public UchSocket {
protected:
pUchAddress FAddr;
+
public:
- UchDatagram ();
- UchDatagram (UchAddress*, UchAddress*);
+ UchDatagram (UchAddress* = 0, UchAddress* = 0);
~UchDatagram ();
UchDatagram (const UchDatagram& d);
UchChannel* Copy () const;
@@ -32,9 +32,9 @@ public:
int Receive (byte*, int);
inline UchAddress* From () { return FAddr; }
int Reply (byte*, int);
- int Send (UchMsgBuffer& b, UchAddress& a, bool = FALSE);
+ int Send (UchMsgBuffer& b, UchAddress& a, bool = false);
int Receive (UchMsgBuffer& b);
- int Reply (UchMsgBuffer& b, bool = FALSE);
+ int Reply (UchMsgBuffer& b, bool = false);
};
#endif /* Datagram_H_ */