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