mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-27 04:35:34 +08:00
Fix compile error on Linux platform and use c++ style header file(<cstddef> instead of <stddef.h>)
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
#include "audio_frame.h"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include <string>
|
||||
#include <cstring>
|
||||
#include <utility>
|
||||
|
||||
AudioFrame::AudioFrame() {}
|
||||
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
#ifndef _AUDIO_FRAME_H_
|
||||
#define _AUDIO_FRAME_H_
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
|
||||
class AudioFrame {
|
||||
public:
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
#include "video_frame.h"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include <string>
|
||||
#include <cstring>
|
||||
#include <utility>
|
||||
|
||||
VideoFrame::VideoFrame() {}
|
||||
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
#ifndef _VIDEO_FRAME_H_
|
||||
#define _VIDEO_FRAME_H_
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
|
||||
class VideoFrame {
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user