From 45e973460a43e47668711da92528887699cdcc92 Mon Sep 17 00:00:00 2001 From: Matthew Morley Date: Sun, 1 Oct 2023 11:02:15 -0400 Subject: [PATCH] Fix photonlib build Unit tests still broken --- .../src/main/native/cpp/photonlib/MultiTargetPNPResult.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/photon-lib/src/main/native/cpp/photonlib/MultiTargetPNPResult.cpp b/photon-lib/src/main/native/cpp/photonlib/MultiTargetPNPResult.cpp index 8e4698412b..c35cae16b7 100644 --- a/photon-lib/src/main/native/cpp/photonlib/MultiTargetPNPResult.cpp +++ b/photon-lib/src/main/native/cpp/photonlib/MultiTargetPNPResult.cpp @@ -24,7 +24,7 @@ #include "photonlib/MultiTargetPNPResult.h" -using namespace photonlib; +namespace photonlib { Packet& operator<<(Packet& packet, const MultiTargetPnpResult& target) { packet << target.result; @@ -107,3 +107,5 @@ Packet& operator>>(Packet& packet, PNPResults& result) { return packet; } + +} // namespace photonlib