Style: Apply clang-tidy's modernize-use-bool-literals

This commit is contained in:
Rémi Verschelde 2021-04-05 13:16:16 +02:00
parent 33b8f1448e
commit 0f0c0e5933
No known key found for this signature in database
GPG key ID: C3336907360768E1
6 changed files with 7 additions and 7 deletions

View file

@ -67,7 +67,7 @@ private:
VisualShader::Type type = VisualShader::Type::TYPE_MAX;
VisualShaderNode *visual_node = nullptr;
GraphNode *graph_node = nullptr;
bool preview_visible = 0;
bool preview_visible = false;
int preview_pos = 0;
Map<int, InputPort> input_ports;
Map<int, Port> output_ports;