mirror of
https://github.com/mfontanini/libtins
synced 2026-01-27 04:11:35 +01:00
Don't include heavy STL headers like <algorithm> in header files
This provides a considerable compilation time reduction and most of these were just using std::copy/fill which can be replaced by memcpy/memset, as all of their uses were applied to POD types
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
|
||||
#include <stdexcept>
|
||||
#include <cstring>
|
||||
#include <algorithm>
|
||||
#include "endianness.h"
|
||||
#include "dhcp.h"
|
||||
#include "ethernetII.h"
|
||||
|
||||
Reference in New Issue
Block a user