mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 01:08:35 +00:00
fix(Core/Build): correct build for GCC 12 (#13583)
* add `_` to header guard to `OPENSSL_CRYPTO_H` because openssl uses the same header guard * remove `<T>` from constructor
This commit is contained in:
committed by
GitHub
parent
856c2e5e58
commit
d87ff61f96
@@ -15,8 +15,8 @@
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef OPENSSL_CRYPTO_H
|
||||
#define OPENSSL_CRYPTO_H
|
||||
#ifndef OPENSSL_CRYPTO_H_
|
||||
#define OPENSSL_CRYPTO_H_
|
||||
|
||||
#include "Define.h"
|
||||
#include <openssl/opensslv.h>
|
||||
|
||||
@@ -34,7 +34,7 @@ private:
|
||||
std::atomic<bool> _shutdown;
|
||||
|
||||
public:
|
||||
ProducerConsumerQueue<T>() : _shutdown(false) { }
|
||||
ProducerConsumerQueue() : _shutdown(false) { }
|
||||
|
||||
void Push(const T& value)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user