vcpkg/ports/snap7/0001-remove-using-namespace-std.patch
Matthieu Penant ab91390898
[snap7] new port v1.4.2 (#33221)
* [snap7] new port v1.4.2

fixes #32968

* Update snap7.json

* Update CMakeLists.txt

* Update snap7.json

* Update portfile.cmake

* Update snap7.json

* Update vcpkg.json

* Update vcpkg.json

* Update snap7.json

* Update ports/snap7/CMakeLists.txt

Co-authored-by: MonicaLiu <110024546+MonicaLiu0311@users.noreply.github.com>

* Update versions/s-/snap7.json

Co-authored-by: MonicaLiu <110024546+MonicaLiu0311@users.noreply.github.com>

* Update ports/snap7/CMakeLists.txt

Co-authored-by: MonicaLiu <110024546+MonicaLiu0311@users.noreply.github.com>

* Update snap7.json

* comment using namespace std in header

* Update snap7.json

---------

Co-authored-by: MonicaLiu <110024546+MonicaLiu0311@users.noreply.github.com>
2023-08-18 12:20:20 -07:00

14 lines
443 B
Diff

diff --git a/src/core/s7_partner.h b/src/core/s7_partner.h
index 95211a2..25c1810 100644
--- a/src/core/s7_partner.h
+++ b/src/core/s7_partner.h
@@ -29,7 +29,7 @@
#include "snap_threads.h"
#include "s7_peer.h"
//---------------------------------------------------------------------------
-using namespace std;
+//using namespace std;
//---------------------------------------------------------------------------
#define MaxPartners 256