mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Include <iterator>
instead of <array>
for std::size
As `std::size` nominally resides in `<iterator>`.
This commit is contained in:
parent
d4f0e5cf5e
commit
da5ec5a0d2
|
@ -1,6 +1,5 @@
|
||||||
/* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */
|
/* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */
|
||||||
/* If you are missing that file, acquire a complete release at teeworlds.com. */
|
/* If you are missing that file, acquire a complete release at teeworlds.com. */
|
||||||
#include <array> // std::size
|
|
||||||
#include <atomic>
|
#include <atomic>
|
||||||
#include <cctype>
|
#include <cctype>
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
@ -9,6 +8,7 @@
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <ctime>
|
#include <ctime>
|
||||||
|
#include <iterator> // std::size
|
||||||
#include <thread>
|
#include <thread>
|
||||||
|
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
#include "compression.h"
|
#include "compression.h"
|
||||||
|
|
||||||
#include <array> // std::size
|
#include <iterator> // std::size
|
||||||
|
|
||||||
// Format: ESDDDDDD EDDDDDDD EDD... Extended, Data, Sign
|
// Format: ESDDDDDD EDDDDDDD EDD... Extended, Data, Sign
|
||||||
unsigned char *CVariableInt::Pack(unsigned char *pDst, int i, int DstSize)
|
unsigned char *CVariableInt::Pack(unsigned char *pDst, int i, int DstSize)
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
#include "console.h"
|
#include "console.h"
|
||||||
#include "linereader.h"
|
#include "linereader.h"
|
||||||
|
|
||||||
#include <array> // std::size
|
#include <iterator> // std::size
|
||||||
#include <new>
|
#include <new>
|
||||||
|
|
||||||
// todo: rework this
|
// todo: rework this
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
#include <base/logger.h>
|
#include <base/logger.h>
|
||||||
#include <base/system.h>
|
#include <base/system.h>
|
||||||
|
|
||||||
#include <array> // std::size
|
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
|
#include <iterator> // std::size
|
||||||
|
|
||||||
#include <thread>
|
#include <thread>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue