Skip to content
Snippets Groups Projects
Commit 4595f26a authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* #8461: suppress warnings from ccrtp

parent 516c1c54
No related branches found
No related tags found
No related merge requests found
...@@ -31,8 +31,8 @@ ...@@ -31,8 +31,8 @@
* shall include the source code for the parts of OpenSSL used as well * shall include the source code for the parts of OpenSSL used as well
* as that of the covered work. * as that of the covered work.
*/ */
#ifndef __SFL_AUDIO_RTP_SESSION_H__ #ifndef SFL_AUDIO_RTP_SESSION_H_
#define __SFL_AUDIO_RTP_SESSION_H__ #define SFL_AUDIO_RTP_SESSION_H_
#include "audio_rtp_record_handler.h" #include "audio_rtp_record_handler.h"
#include <audio/codecs/audiocodec.h> #include <audio/codecs/audiocodec.h>
...@@ -153,5 +153,5 @@ class AudioRtpSession : public AudioRtpRecordHandler { ...@@ -153,5 +153,5 @@ class AudioRtpSession : public AudioRtpRecordHandler {
}; };
} }
#endif // __AUDIO_RTP_SESSION_H__ #endif // AUDIO_RTP_SESSION_H__
...@@ -31,8 +31,8 @@ ...@@ -31,8 +31,8 @@
* shall include the source code for the parts of OpenSSL used as well * shall include the source code for the parts of OpenSSL used as well
* as that of the covered work. * as that of the covered work.
*/ */
#ifndef __AUDIO_SYMMETRIC_RTP_SESSION_H__ #ifndef AUDIO_SYMMETRIC_RTP_SESSION_H_
#define __AUDIO_SYMMETRIC_RTP_SESSION_H__ #define AUDIO_SYMMETRIC_RTP_SESSION_H_
#include <exception> #include <exception>
#include <cassert> #include <cassert>
...@@ -43,6 +43,8 @@ ...@@ -43,6 +43,8 @@
using std::ptrdiff_t; using std::ptrdiff_t;
#pragma GCC diagnostic ignored "-Weffc++"
#include <ccrtp/rtp.h> #include <ccrtp/rtp.h>
#include <ccrtp/iqueue.h> #include <ccrtp/iqueue.h>
#include <cc++/numbers.h> // ost::Time #include <cc++/numbers.h> // ost::Time
...@@ -93,5 +95,6 @@ class AudioSymmetricRtpSession : public ost::TimerPort, public ost::SymmetricRTP ...@@ -93,5 +95,6 @@ class AudioSymmetricRtpSession : public ost::TimerPort, public ost::SymmetricRTP
}; };
} }
#endif // __AUDIO_SYMMETRIC_RTP_SESSION_H__ #pragma GCC diagnostic warning "-Weffc++"
#endif // AUDIO_SYMMETRIC_RTP_SESSION_H__
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment