Proper C++ array initialiation

Change-Id: Ic2fab5db3921f477832eaddf5226b6727f68a34c
This commit is contained in:
Romain Goyet
2016-11-05 14:49:25 +01:00
parent f4a95cb43f
commit 150f52a993
3 changed files with 3 additions and 3 deletions

View File

@@ -4,7 +4,7 @@
namespace Graph {
Function::Function(const char * text, KDColor color) :
m_text(""),
m_text{0},
m_name(text),
m_color(color),
m_expression(nullptr),