Skip to content

Commit

Permalink
Reorganize includes in HTTP and MPEG modules
Browse files Browse the repository at this point in the history
- Move #pragma once to the top
- Remove duplicate includes
- Organize system includes alphabetically
- Place local includes after system includes
- Group platform-specific includes in ifdef blocks
  • Loading branch information
sannysanoff committed Feb 5, 2025
1 parent 91333e5 commit 6c52f5b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
4 changes: 3 additions & 1 deletion core/src/utils/mpeg.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
#include "mpeg.h"
#pragma once

#include <vector>
#include <cstdint>
#include <cstring>

#include "mpeg.h"
#include "flog.h"

#ifdef __APPLE__
Expand Down
8 changes: 7 additions & 1 deletion core/src/utils/proto/http.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
#include "http.h"
#pragma once

#include <inttypes.h>
#include <regex>
#include <utils/flog.h>
#include <cstdint>
#include <string>
#include <vector>

#include "http.h"


#ifdef __ANDROID__
Expand Down
4 changes: 4 additions & 0 deletions core/src/utils/proto/http.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#pragma once

#include <cstdint>
#include <vector>
#include <utility>
#include <map>
#include <string>
#include <unordered_map>
Expand Down

0 comments on commit 6c52f5b

Please sign in to comment.