diff --git a/plugins/hifiNeuron/src/NeuronPlugin.cpp b/plugins/hifiNeuron/src/NeuronPlugin.cpp index e41472a8c5..aec8bf072a 100644 --- a/plugins/hifiNeuron/src/NeuronPlugin.cpp +++ b/plugins/hifiNeuron/src/NeuronPlugin.cpp @@ -27,8 +27,8 @@ Q_LOGGING_CATEGORY(inputplugins, "hifi.inputplugins") #include -const QString NeuronPlugin::NAME = "Neuron"; -const QString NeuronPlugin::NEURON_ID_STRING = "Perception Neuron"; +const char* NeuronPlugin::NAME = "Neuron"; +const char* NeuronPlugin::NEURON_ID_STRING = "Perception Neuron"; // indices of joints of the Neuron standard skeleton. // This is 'almost' the same as the High Fidelity standard skeleton. diff --git a/plugins/hifiNeuron/src/NeuronPlugin.h b/plugins/hifiNeuron/src/NeuronPlugin.h index 576deb64ae..0e4ea4e7ff 100644 --- a/plugins/hifiNeuron/src/NeuronPlugin.h +++ b/plugins/hifiNeuron/src/NeuronPlugin.h @@ -29,7 +29,7 @@ public: // Plugin functions virtual bool isSupported() const override; - virtual const QString& getName() const override { return NAME; } + virtual const char* getName() const override { return NAME; } const QString& getID() const override { return NEURON_ID_STRING; } virtual bool activate() override; @@ -65,8 +65,8 @@ protected: std::shared_ptr _inputDevice { std::make_shared() }; - static const QString NAME; - static const QString NEURON_ID_STRING; + static const char* NAME; + static const char* NEURON_ID_STRING; std::string _serverAddress; int _serverPort;