Define methods inside namespace instead of using namespace

This commit is contained in:
Filip Klembara
2020-12-14 09:32:03 +01:00
parent e23d0723d1
commit 735cb538f7
8 changed files with 33 additions and 20 deletions

View File

@ -20,8 +20,11 @@
#include "h264packetizationhandler.hpp"
using namespace rtc;
using namespace std;
namespace rtc {
using std::shared_ptr;
using std::make_shared;
using std::function;
typedef enum {
NUSM_noMatch,
@ -161,4 +164,6 @@ H264PacketizationHandler::H264PacketizationHandler(Separator separator,
};
}
} // namespace
#endif /* RTC_ENABLE_MEDIA */