mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
[AFV] Fixed GCC and Clang errors
This commit is contained in:
@@ -20,6 +20,10 @@
|
||||
#include <QBuffer>
|
||||
#include <QtDebug>
|
||||
|
||||
#ifndef crypto_aead_chacha20poly1305_IETF_ABYTES
|
||||
#define crypto_aead_chacha20poly1305_IETF_ABYTES 16U
|
||||
#endif
|
||||
|
||||
namespace BlackCore
|
||||
{
|
||||
namespace Afv
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
|
||||
using namespace BlackMisc;
|
||||
using namespace BlackMisc::PhysicalQuantities;
|
||||
using namespace BlackMisc::Audio;
|
||||
using namespace BlackMisc::Aviation;
|
||||
using namespace BlackMisc::Network;
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@ namespace BlackSound
|
||||
|
||||
private:
|
||||
QRandomGenerator random;
|
||||
std::array<double, 7> pinkNoiseBuffer = {0};
|
||||
std::array<double, 7> pinkNoiseBuffer = {{0}};
|
||||
double m_gain = 0.0;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user