aboutsummaryrefslogtreecommitdiff
path: root/src/server/shared/Cryptography/BigNumber.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/shared/Cryptography/BigNumber.h')
-rw-r--r--src/server/shared/Cryptography/BigNumber.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/server/shared/Cryptography/BigNumber.h b/src/server/shared/Cryptography/BigNumber.h
index dc553babec9..d0a09dca6c4 100644
--- a/src/server/shared/Cryptography/BigNumber.h
+++ b/src/server/shared/Cryptography/BigNumber.h
@@ -19,8 +19,9 @@
#ifndef _AUTH_BIGNUMBER_H
#define _AUTH_BIGNUMBER_H
+#include <memory>
#include "Define.h"
-#include <ace/Auto_Ptr.h>
+
struct bignum_st;
@@ -87,7 +88,7 @@ class BigNumber
uint32 AsDword();
- ACE_Auto_Array_Ptr<uint8> AsByteArray(int32 minSize = 0, bool littleEndian = true);
+ std::unique_ptr<uint8> AsByteArray(int32 minSize = 0, bool littleEndian = true);
char * AsHexStr() const;
char * AsDecStr() const;