Cleanup handling of warnings (#2030)

This commit is contained in:
Alexander Bock
2022-04-16 20:57:29 +02:00
committed by GitHub
parent e3d1999716
commit 5751fe26d3
45 changed files with 212 additions and 265 deletions

View File

@@ -67,9 +67,9 @@ private:
};
struct MappingKey {
MappingKey(float p, const glm::vec4& c): position(p), color(c) {};
MappingKey(float p): position(p), color(glm::vec4(0.f)) {};
bool operator<(const MappingKey& rhs) {return position < rhs.position;};
MappingKey(float p, const glm::vec4& c): position(p), color(c) {}
MappingKey(float p): position(p), color(glm::vec4(0.f)) {}
bool operator<(const MappingKey& rhs) { return position < rhs.position; }
float position = 0.f;
glm::vec4 color = glm::vec4(0.f);