mirror of
https://github.com/mii443/libdatachannel.git
synced 2025-08-31 11:29:28 +00:00
Define methods inside namespace instead of using namespace
This commit is contained in:
@ -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 */
|
||||
|
Reference in New Issue
Block a user