Browse Source

Add missing includes

A few more instances of missing <algorithm> for std::max
pull/16/head
Simon Richter 6 years ago
parent
commit
632494cba7
  1. 1
      3d-viewer/3d_rendering/cimage.cpp
  2. 2
      common/dialogs/panel_text_variables.cpp
  3. 2
      common/widgets/ui_common.cpp
  4. 2
      common/widgets/wx_grid.cpp
  5. 2
      eeschema/sim/ngspice.cpp
  6. 2
      include/widgets/mathplot.h

1
3d-viewer/3d_rendering/cimage.cpp

@ -31,6 +31,7 @@
#include "buffers_debug.h"
#include <cstring> // For memcpy
#include <algorithm>
#include <atomic>
#include <thread>
#include <chrono>

2
common/dialogs/panel_text_variables.cpp

@ -30,6 +30,8 @@
#include <grid_tricks.h>
#include <widgets/wx_grid.h>
#include <algorithm>
enum TEXT_VAR_GRID_COLUMNS
{
TV_NAME_COL = 0,

2
common/widgets/ui_common.cpp

@ -20,6 +20,8 @@
#include <wx/wx.h>
#include <widgets/ui_common.h>
#include <algorithm>
int KIUI::GetStdMargin()
{

2
common/widgets/wx_grid.cpp

@ -26,6 +26,8 @@
#include <wx/wx.h>
#include "wx_grid.h"
#include <algorithm>
#define MIN_GRIDCELL_MARGIN 3

2
eeschema/sim/ngspice.cpp

@ -37,6 +37,8 @@
#include <stdexcept>
#include <algorithm>
using namespace std;
static const wxChar* const traceNgspice = wxT( "KICAD_NGSPICE" );

2
include/widgets/mathplot.h

@ -79,6 +79,8 @@
#include <deque>
#include <algorithm>
// For memory leak debug
#ifdef _WINDOWS
#ifdef _DEBUG

Loading…
Cancel
Save