Add missing includes
A few more instances of missing <algorithm> for std::max
This commit is contained in:
parent
4165ec3384
commit
632494cba7
|
@ -31,6 +31,7 @@
|
|||
#include "buffers_debug.h"
|
||||
#include <cstring> // For memcpy
|
||||
|
||||
#include <algorithm>
|
||||
#include <atomic>
|
||||
#include <thread>
|
||||
#include <chrono>
|
||||
|
|
|
@ -30,6 +30,8 @@
|
|||
#include <grid_tricks.h>
|
||||
#include <widgets/wx_grid.h>
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
enum TEXT_VAR_GRID_COLUMNS
|
||||
{
|
||||
TV_NAME_COL = 0,
|
||||
|
|
|
@ -20,6 +20,8 @@
|
|||
#include <wx/wx.h>
|
||||
#include <widgets/ui_common.h>
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
|
||||
int KIUI::GetStdMargin()
|
||||
{
|
||||
|
|
|
@ -26,6 +26,8 @@
|
|||
#include <wx/wx.h>
|
||||
#include "wx_grid.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
|
||||
#define MIN_GRIDCELL_MARGIN 3
|
||||
|
||||
|
|
|
@ -37,6 +37,8 @@
|
|||
|
||||
#include <stdexcept>
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
using namespace std;
|
||||
|
||||
static const wxChar* const traceNgspice = wxT( "KICAD_NGSPICE" );
|
||||
|
|
|
@ -79,6 +79,8 @@
|
|||
|
||||
#include <deque>
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
// For memory leak debug
|
||||
#ifdef _WINDOWS
|
||||
#ifdef _DEBUG
|
||||
|
|
Loading…
Reference in New Issue