From bfa22c6ce803db6e463f8043dd4a3c297f736497 Mon Sep 17 00:00:00 2001 From: Chris Pavlina Date: Sun, 19 Mar 2017 09:13:44 -0400 Subject: [PATCH] Fix warning: uninitialized constant in sim_plot_panel.h --- eeschema/sim/sim_plot_panel.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eeschema/sim/sim_plot_panel.h b/eeschema/sim/sim_plot_panel.h index 432d27841a..3c3caa029b 100644 --- a/eeschema/sim/sim_plot_panel.h +++ b/eeschema/sim/sim_plot_panel.h @@ -2,6 +2,7 @@ * This program source code file is part of KiCad, a free EDA CAD application. * * Copyright (C) 2016 CERN + * Copyright (C) 2016-2017 KiCad Developers, see AUTHORS.txt for contributors. * @author Tomasz Wlostowski * @author Maciej Suminski * @@ -79,7 +80,7 @@ private: wxRealPoint m_coords; mpWindow* m_window; - const int DRAG_MARGIN = 10; + static constexpr int DRAG_MARGIN = 10; };