diff options
| author | 2021-06-24 08:53:27 -0700 | |
|---|---|---|
| committer | 2021-06-24 08:53:27 -0700 | |
| commit | 4dc2f5a341f08d763498a45fef484442287c05d3 (patch) | |
| tree | 35d61fbf7e5880d1061f4cea6194eaf43b6b2990 /src | |
| parent | Add missing includes (#6521) (diff) | |
| parent | general: Add missing #pragma once directives (diff) | |
| download | yuzu-4dc2f5a341f08d763498a45fef484442287c05d3.tar.gz yuzu-4dc2f5a341f08d763498a45fef484442287c05d3.tar.xz yuzu-4dc2f5a341f08d763498a45fef484442287c05d3.zip | |
Merge pull request #6522 from Morph1984/pragma
general: Add missing #pragma once directives
Diffstat (limited to 'src')
| -rw-r--r-- | src/common/logging/types.h | 2 | ||||
| -rw-r--r-- | src/core/hle/api_version.h | 2 | ||||
| -rw-r--r-- | src/core/hle/service/spl/spl_results.h | 2 | ||||
| -rw-r--r-- | src/core/hle/service/spl/spl_types.h | 2 |
4 files changed, 8 insertions, 0 deletions
diff --git a/src/common/logging/types.h b/src/common/logging/types.h index ee9a1ed84..88b0e9c01 100644 --- a/src/common/logging/types.h +++ b/src/common/logging/types.h | |||
| @@ -2,6 +2,8 @@ | |||
| 2 | // Licensed under GPLv2 or any later version | 2 | // Licensed under GPLv2 or any later version |
| 3 | // Refer to the license.txt file included. | 3 | // Refer to the license.txt file included. |
| 4 | 4 | ||
| 5 | #pragma once | ||
| 6 | |||
| 5 | #include <chrono> | 7 | #include <chrono> |
| 6 | 8 | ||
| 7 | #include "common/common_types.h" | 9 | #include "common/common_types.h" |
diff --git a/src/core/hle/api_version.h b/src/core/hle/api_version.h index 811732179..5e10a7ad9 100644 --- a/src/core/hle/api_version.h +++ b/src/core/hle/api_version.h | |||
| @@ -2,6 +2,8 @@ | |||
| 2 | // Licensed under GPLv2 or any later version | 2 | // Licensed under GPLv2 or any later version |
| 3 | // Refer to the license.txt file included. | 3 | // Refer to the license.txt file included. |
| 4 | 4 | ||
| 5 | #pragma once | ||
| 6 | |||
| 5 | #include "common/common_types.h" | 7 | #include "common/common_types.h" |
| 6 | 8 | ||
| 7 | // This file contains yuzu's HLE API version constants. | 9 | // This file contains yuzu's HLE API version constants. |
diff --git a/src/core/hle/service/spl/spl_results.h b/src/core/hle/service/spl/spl_results.h index 878fa91b7..a07c61409 100644 --- a/src/core/hle/service/spl/spl_results.h +++ b/src/core/hle/service/spl/spl_results.h | |||
| @@ -2,6 +2,8 @@ | |||
| 2 | // Licensed under GPLv2 or any later version | 2 | // Licensed under GPLv2 or any later version |
| 3 | // Refer to the license.txt file included. | 3 | // Refer to the license.txt file included. |
| 4 | 4 | ||
| 5 | #pragma once | ||
| 6 | |||
| 5 | #include "core/hle/result.h" | 7 | #include "core/hle/result.h" |
| 6 | 8 | ||
| 7 | namespace Service::SPL { | 9 | namespace Service::SPL { |
diff --git a/src/core/hle/service/spl/spl_types.h b/src/core/hle/service/spl/spl_types.h index 23c39f7ed..a654e7556 100644 --- a/src/core/hle/service/spl/spl_types.h +++ b/src/core/hle/service/spl/spl_types.h | |||
| @@ -2,6 +2,8 @@ | |||
| 2 | // Licensed under GPLv2 or any later version | 2 | // Licensed under GPLv2 or any later version |
| 3 | // Refer to the license.txt file included. | 3 | // Refer to the license.txt file included. |
| 4 | 4 | ||
| 5 | #pragma once | ||
| 6 | |||
| 5 | #include <span> | 7 | #include <span> |
| 6 | 8 | ||
| 7 | #include "common/bit_field.h" | 9 | #include "common/bit_field.h" |