Browse Source

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.
nce_cpp
Lioncash 3 years ago
parent
commit
7c051067f6
  1. 5
      src/common/cache_management.cpp
  2. 2
      src/common/cache_management.h

5
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 {

2
src/common/cache_management.h

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

Loading…
Cancel
Save