diff --git a/api/Print.h b/api/Print.h index a2b982da..fc30b45b 100644 --- a/api/Print.h +++ b/api/Print.h @@ -93,4 +93,4 @@ class Print }; } -using namespace arduino; \ No newline at end of file +using arduino::Print; \ No newline at end of file diff --git a/api/String.h b/api/String.h index a3d0d9e8..3f34493b 100644 --- a/api/String.h +++ b/api/String.h @@ -255,5 +255,8 @@ class StringSumHelper : public String } // namespace arduino +using arduino::__FlashStringHelper; +using arduino::String; + #endif // __cplusplus #endif // __ARDUINO_STRINGS__ diff --git a/api/Udp.h b/api/Udp.h index 53f89f9a..68a71e85 100644 --- a/api/Udp.h +++ b/api/Udp.h @@ -87,6 +87,4 @@ class UDP : public Stream { uint8_t* rawIPAddress(IPAddress& addr) { return addr.raw_address(); }; }; -} - -using namespace arduino; +} \ No newline at end of file diff --git a/test/src/Stream/test_parseFloat.cpp b/test/src/Stream/test_parseFloat.cpp index 19d2ce86..a9fba616 100644 --- a/test/src/Stream/test_parseFloat.cpp +++ b/test/src/Stream/test_parseFloat.cpp @@ -12,6 +12,8 @@ #include +using namespace arduino; + /************************************************************************************** * TEST CODE **************************************************************************************/ diff --git a/test/src/Stream/test_parseInt.cpp b/test/src/Stream/test_parseInt.cpp index b5b60610..c79ed447 100644 --- a/test/src/Stream/test_parseInt.cpp +++ b/test/src/Stream/test_parseInt.cpp @@ -14,6 +14,8 @@ * TEST CODE **************************************************************************************/ +using namespace arduino; + TEST_CASE ("Testing parseInt(LookaheadMode lookahead = SKIP_ALL, char ignore = NO_IGNORE_CHAR)", "[Stream-parseInt-01]") { StreamMock mock;