mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-30 02:32:46 +01:00
general: Add missing pragma once
This commit is contained in:
parent
d574bb4610
commit
bffbaddb79
2 changed files with 3 additions and 4 deletions
|
@ -4,8 +4,7 @@
|
||||||
// From: https://github.com/eteran/cpp-utilities/blob/master/fixed/include/cpp-utilities/fixed.h
|
// From: https://github.com/eteran/cpp-utilities/blob/master/fixed/include/cpp-utilities/fixed.h
|
||||||
// See also: http://stackoverflow.com/questions/79677/whats-the-best-way-to-do-fixed-point-math
|
// See also: http://stackoverflow.com/questions/79677/whats-the-best-way-to-do-fixed-point-math
|
||||||
|
|
||||||
#ifndef FIXED_H_
|
#pragma once
|
||||||
#define FIXED_H_
|
|
||||||
|
|
||||||
#if __cplusplus >= 201402L
|
#if __cplusplus >= 201402L
|
||||||
#define CONSTEXPR14 constexpr
|
#define CONSTEXPR14 constexpr
|
||||||
|
@ -702,5 +701,3 @@ constexpr bool operator!=(Number lhs, FixedPoint<I, F> rhs) {
|
||||||
} // namespace Common
|
} // namespace Common
|
||||||
|
|
||||||
#undef CONSTEXPR14
|
#undef CONSTEXPR14
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project
|
// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project
|
||||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#include "core/hle/result.h"
|
#include "core/hle/result.h"
|
||||||
|
|
||||||
namespace Service::VI {
|
namespace Service::VI {
|
||||||
|
|
Loading…
Reference in a new issue