Commit 558e41c6 authored by Benjamin Heisch's avatar Benjamin Heisch
Browse files

Removed warning on gcc.

parent be86b227
Pipeline #19325 passed with stages
in 7 minutes and 1 second
...@@ -16,9 +16,10 @@ class AudioChannel : public IAudioChannel ...@@ -16,9 +16,10 @@ class AudioChannel : public IAudioChannel
{ {
public: public:
inline AudioChannel(std::string _channelname, SpeakerPosition _pos) inline AudioChannel(std::string _channelname, SpeakerPosition _pos)
: channelname(_channelname) : data(nullptr)
, channelname(_channelname)
, pos(_pos) , pos(_pos)
, data(nullptr)
{} {}
// Geerbt ber IAudioChannel // Geerbt ber IAudioChannel
inline virtual std::string_view getName() override inline virtual std::string_view getName() override
...@@ -35,7 +36,6 @@ public: ...@@ -35,7 +36,6 @@ public:
private: private:
float* data; float* data;
std::string channelname; std::string channelname;
SpeakerPosition pos; SpeakerPosition pos;
}; };
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment