Add missing includes

A few more instances of missing <algorithm> for std::max
This commit is contained in:
Simon Richter 2020-05-08 16:34:28 +02:00
parent 4165ec3384
commit 632494cba7
6 changed files with 11 additions and 0 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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