Fix all - 2 cppcheck performance hints
This commit is contained in:
@@ -21,10 +21,9 @@
|
||||
#include <cstring>
|
||||
#include <gdkmm/types.h>
|
||||
|
||||
MyCurve::MyCurve () : pipetteR(-1.f), pipetteG(-1.f), pipetteB(-1.f), pipetteVal(-1.f), listener(NULL)
|
||||
MyCurve::MyCurve () : pipetteR(-1.f), pipetteG(-1.f), pipetteB(-1.f), pipetteVal(-1.f), listener(NULL), cursor_type( CSArrow)
|
||||
{
|
||||
|
||||
cursor_type = CSArrow;
|
||||
graphX = get_allocation().get_width() - RADIUS * 2;
|
||||
graphY = get_allocation().get_height() - RADIUS * 2;
|
||||
prevGraphW = graphW;
|
||||
|
Reference in New Issue
Block a user