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:
Dominik Nussbaumer
2022-11-19 18:13:21 +01:00
committed by GitHub
parent 856c2e5e58
commit d87ff61f96
2 changed files with 3 additions and 3 deletions

View File

@@ -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>

View File

@@ -34,7 +34,7 @@ private:
std::atomic<bool> _shutdown;
public:
ProducerConsumerQueue<T>() : _shutdown(false) { }
ProducerConsumerQueue() : _shutdown(false) { }
void Push(const T& value)
{