From 835aab5424f2f3268be1de2ef2456ab623f91877 Mon Sep 17 00:00:00 2001 From: rdb Date: Fri, 15 Jun 2018 18:05:41 +0200 Subject: [PATCH] physx: fix compiler errors --- panda/src/physx/physxEnums.cxx | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/panda/src/physx/physxEnums.cxx b/panda/src/physx/physxEnums.cxx index 73bf0a8534..87a0222bc3 100644 --- a/panda/src/physx/physxEnums.cxx +++ b/panda/src/physx/physxEnums.cxx @@ -16,11 +16,6 @@ #include "string_utils.h" #include "config_putil.h" -using std::istream; -using std::ostream; - -ostream & -operator << (ostream &out, PhysxEnums::PhysxUpAxis axis) { std::ostream & operator << (std::ostream &out, PhysxEnums::PhysxUpAxis axis) { @@ -38,8 +33,8 @@ operator << (std::ostream &out, PhysxEnums::PhysxUpAxis axis) { return out << "**invalid PhysxEnums::PhysxUpAxis value: (" << (int)axis << ")**"; } -istream & -operator >> (istream &in, PhysxEnums::PhysxUpAxis &axis) { +std::istream & +operator >> (std::istream &in, PhysxEnums::PhysxUpAxis &axis) { std::string word; in >> word;