Removed more bullshit useless dumb code

This commit is contained in:
2021-01-23 02:06:04 +01:00
parent 2e19b9ff5b
commit 35bea57d10
21 changed files with 52 additions and 1654 deletions

View File

@ -21,8 +21,9 @@
#define IPAddress_h
#include <stdint.h>
#include <WString.h>
#include <Printable.h>
#include <string>
#include "Printable.h"
// A class to make it easier to handle and pass around IP addresses
@ -52,7 +53,7 @@ public:
virtual ~IPAddress() {}
bool fromString(const char *address);
bool fromString(const String &address) { return fromString(address.c_str()); }
bool fromString(const std::string &address) { return fromString(address.c_str()); }
// Overloaded cast operator to allow IPAddress objects to be used where a pointer
// to a four-byte uint8_t array is expected
@ -81,7 +82,7 @@ public:
IPAddress& operator=(uint32_t address);
virtual size_t printTo(Print& p) const;
String toString() const;
std::string toString() const;
friend class EthernetClass;
friend class UDP;