Просмотр исходного кода

common/cache_management: Amend header includes

Narrows the include in the header to <cstddef>, since that's what houses
size_t's definition, meanwhile the <cstdint> include can be moved into
the cpp file.
Lioncash 3 лет назад
Родитель
Сommit
c2c9b44749
2 измененных файлов с 3 добавлено и 4 удалено
  1. 2 3
      src/common/cache_management.cpp
  2. 1 1
      src/common/cache_management.h

+ 2 - 3
src/common/cache_management.cpp

@@ -1,11 +1,10 @@
 // SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project
 // SPDX-License-Identifier: GPL-2.0-or-later
 
+#include <cstdint>
 #include <cstring>
 
-#include "alignment.h"
-#include "cache_management.h"
-#include "common_types.h"
+#include "common/cache_management.h"
 
 namespace Common {
 

+ 1 - 1
src/common/cache_management.h

@@ -3,7 +3,7 @@
 
 #pragma once
 
-#include "stdlib.h"
+#include <cstddef>
 
 namespace Common {