nuke non-pod global static warnings (we're an executable)
parent
acbba0403b
commit
9b131e5322
|
@ -16,7 +16,7 @@ using Xybrid::Gadgets::IOPort;
|
|||
|
||||
#include "util/strings.h"
|
||||
|
||||
namespace {
|
||||
namespace { // clazy:excludeall=non-pod-global-static
|
||||
typedef std::list<std::function<void()>> fqueue; // typedef so QtCreator's auto indent doesn't completely break :|
|
||||
fqueue& regQueue() {
|
||||
static fqueue q;
|
||||
|
|
|
@ -17,7 +17,7 @@ using namespace Xybrid::Config;
|
|||
|
||||
#define qs QStringLiteral
|
||||
|
||||
namespace {
|
||||
namespace { // clazy:excludeall=non-pod-global-static
|
||||
std::shared_ptr<PluginInfo> inf;
|
||||
bool c = PluginRegistry::enqueueRegistration([] {
|
||||
auto i = std::make_shared<PluginInfo>();
|
||||
|
|
|
@ -235,7 +235,7 @@ std::shared_ptr<Sample> Sample::fromFile(QString fileName) {
|
|||
qCritical() << (probe.errorString());
|
||||
}
|
||||
auto mystdout = probe.readAllStandardOutput();
|
||||
auto mystderr = probe.readAllStandardError();
|
||||
// auto mystderr = probe.readAllStandardError();
|
||||
auto doc = QJsonDocument::fromJson(mystdout);
|
||||
info = doc.object()["streams"].toArray().first().toObject();
|
||||
}
|
||||
|
@ -283,7 +283,7 @@ std::shared_ptr<Sample> Sample::fromFile(QString fileName) {
|
|||
|
||||
#endif
|
||||
|
||||
namespace {
|
||||
namespace { // clazy:excludeall=non-pod-global-static
|
||||
bool exporting = false;
|
||||
std::unordered_map<Sample*, bool> exportMap;
|
||||
}
|
||||
|
|
|
@ -27,6 +27,7 @@ using namespace Xybrid::UI;
|
|||
|
||||
#include <QCborMap>
|
||||
|
||||
// clazy:excludeall=non-pod-global-static
|
||||
RegisterPlugin(AutoPan, {
|
||||
i->id = "fx:autopan";
|
||||
i->displayName = "Auto Pan";
|
||||
|
|
|
@ -26,6 +26,7 @@ using namespace Xybrid::UI;
|
|||
|
||||
#include <QCborMap>
|
||||
|
||||
// clazy:excludeall=non-pod-global-static
|
||||
RegisterPlugin(Delay, {
|
||||
i->id = "fx:delay";
|
||||
i->oldIds = {"gadget:delay"};
|
||||
|
|
|
@ -27,6 +27,7 @@ using namespace Xybrid::UI;
|
|||
|
||||
#include <QCborMap>
|
||||
|
||||
// clazy:excludeall=non-pod-global-static
|
||||
RegisterPlugin(RingMod, {
|
||||
i->id = "fx:ringmod";
|
||||
i->displayName = "Ring Mod";
|
||||
|
|
|
@ -40,6 +40,7 @@ using namespace Xybrid::UI;
|
|||
|
||||
#include <QCborMap>
|
||||
|
||||
// clazy:excludeall=non-pod-global-static
|
||||
RegisterPlugin(SVF, {
|
||||
i->id = "fx:svf";
|
||||
i->oldIds = {"gadget:svf"};
|
||||
|
|
|
@ -25,6 +25,7 @@ using namespace Xybrid::UI;
|
|||
|
||||
#include <QCborMap>
|
||||
|
||||
// clazy:excludeall=non-pod-global-static
|
||||
RegisterPlugin(GainBalance, {
|
||||
i->id = "gadget:gainbalance";
|
||||
i->displayName = "Gain/Balance";
|
||||
|
|
|
@ -26,6 +26,7 @@ using namespace Xybrid::Audio;
|
|||
|
||||
#include "util/strings.h"
|
||||
|
||||
// clazy:excludeall=non-pod-global-static
|
||||
RegisterPlugin(IOPort, {
|
||||
i->id = "ioport";
|
||||
i->displayName = "I/O Port";
|
||||
|
|
|
@ -29,6 +29,7 @@ using namespace Xybrid::UI;
|
|||
#include <QCborMap>
|
||||
#include <QCborArray>
|
||||
|
||||
// clazy:excludeall=non-pod-global-static
|
||||
RegisterPlugin(MixBoard, {
|
||||
i->id = "gadget:mixboard";
|
||||
i->displayName = "Mixer Board";
|
||||
|
|
|
@ -23,6 +23,7 @@ using namespace Xybrid::UI;
|
|||
#include "data/audioframe.h"
|
||||
#include "data/porttypes.h"
|
||||
|
||||
// clazy:excludeall=non-pod-global-static
|
||||
RegisterPlugin(QuickLevel, {
|
||||
i->id = "gadget:quicklevel";
|
||||
i->displayName = "Quick Level";
|
||||
|
|
|
@ -21,6 +21,7 @@ using namespace Xybrid::UI;
|
|||
|
||||
#include <QCborMap>
|
||||
|
||||
// clazy:excludeall=non-pod-global-static
|
||||
RegisterPlugin(Transpose, {
|
||||
i->id = "gadget:transpose";
|
||||
i->displayName = "Transpose";
|
||||
|
|
|
@ -26,6 +26,7 @@ using namespace Xybrid::UI;
|
|||
#include <QCborValue>
|
||||
#include <QCborArray>
|
||||
|
||||
// clazy:excludeall=non-pod-global-static
|
||||
RegisterPlugin(I2x03, {
|
||||
i->id = "plug:2x03";
|
||||
i->displayName = "2x03";
|
||||
|
|
|
@ -23,6 +23,7 @@ using namespace Xybrid::UI;
|
|||
|
||||
#include "nodelib/resampler.h"
|
||||
|
||||
// clazy:excludeall=non-pod-global-static
|
||||
RegisterPlugin(TestSynth, {
|
||||
i->id = "plug:testsynth";
|
||||
i->displayName = "The Testron";
|
||||
|
|
|
@ -28,6 +28,7 @@ using namespace Xybrid::UI;
|
|||
#include <QCborValue>
|
||||
#include <QCborArray>
|
||||
|
||||
// clazy:excludeall=non-pod-global-static
|
||||
RegisterPlugin(Thicc, {
|
||||
i->id = "plug:thicc";
|
||||
i->displayName = "THiCC";
|
||||
|
|
|
@ -26,6 +26,7 @@ using namespace Xybrid::UI;
|
|||
#include <QCborValue>
|
||||
#include <QCborArray>
|
||||
|
||||
// clazy:excludeall=non-pod-global-static
|
||||
RegisterPlugin(Xriek, {
|
||||
i->id = "plug:xriek";
|
||||
i->displayName = "Xriek";
|
||||
|
|
|
@ -42,6 +42,7 @@ using namespace Xybrid::UI;
|
|||
#include <QMenu>
|
||||
#include <QGraphicsProxyWidget>
|
||||
|
||||
// clazy:excludeall=non-pod-global-static
|
||||
RegisterPlugin(BeatPad, {
|
||||
i->id = "plug:beatpad";
|
||||
i->displayName = "BeatPad";
|
||||
|
|
|
@ -41,6 +41,7 @@ using namespace Xybrid::UI;
|
|||
#include <QMenu>
|
||||
#include <QGraphicsProxyWidget>
|
||||
|
||||
// clazy:excludeall=non-pod-global-static
|
||||
RegisterPlugin(Capaxitor, {
|
||||
i->id = "plug:capaxitor";
|
||||
i->displayName = "CapaXitor";
|
||||
|
|
|
@ -20,7 +20,7 @@ using namespace Xybrid::Audio;
|
|||
|
||||
SettingsDialog* SettingsDialog::instance = nullptr;
|
||||
|
||||
namespace {
|
||||
namespace { // clazy:excludeall=non-pod-global-static
|
||||
std::vector<std::function<void()>>* bnd;
|
||||
|
||||
void bind(QCheckBox* o, bool& v) {
|
||||
|
|
|
@ -9,7 +9,7 @@ using Xybrid::UI::ButtonGadget;
|
|||
|
||||
#include <QMenu>
|
||||
|
||||
namespace {
|
||||
namespace { // clazy:excludeall=non-pod-global-static
|
||||
const QFont font("Arcon Rounded", 8);
|
||||
}
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ using Xybrid::UI::LabelGadget;
|
|||
|
||||
#include <QPainter>
|
||||
|
||||
namespace {
|
||||
namespace { // clazy:excludeall=non-pod-global-static
|
||||
const QFont font("Arcon Rounded", 8);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue