From 408fce1de69249b82cc042cb31f3fd16983c7e81 Mon Sep 17 00:00:00 2001 From: Spp Date: Mon, 6 Dec 2010 02:07:53 +0100 Subject: Core: Some optimizations - Declare some functions const - Fix some mem leak - Fix some resource leak - Remove unused variables and functions - Remove duplicate functions - Reduce the scope of some variables - Remove unused file --HG-- branch : trunk --- src/server/shared/Cryptography/Authentication/AuthCrypt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/shared/Cryptography/Authentication') diff --git a/src/server/shared/Cryptography/Authentication/AuthCrypt.h b/src/server/shared/Cryptography/Authentication/AuthCrypt.h index 752071d177d..2336e4a76db 100755 --- a/src/server/shared/Cryptography/Authentication/AuthCrypt.h +++ b/src/server/shared/Cryptography/Authentication/AuthCrypt.h @@ -34,7 +34,7 @@ class AuthCrypt void DecryptRecv(uint8 *, size_t); void EncryptSend(uint8 *, size_t); - bool IsInitialized() { return _initialized; } + bool IsInitialized() const { return _initialized; } private: ARC4 _clientDecrypt; -- cgit v1.2.3