summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorGravatar arades792023-02-14 11:13:47 -0500
committerGravatar arades792023-02-14 12:35:39 -0500
commit683019878fc939b418a65e1c5d84b066596d7655 (patch)
tree6b2a2e8ea34cb00a3fccf3613a52475550997035 /src/tests
parentapply clang-format (diff)
downloadyuzu-683019878fc939b418a65e1c5d84b066596d7655.tar.gz
yuzu-683019878fc939b418a65e1c5d84b066596d7655.tar.xz
yuzu-683019878fc939b418a65e1c5d84b066596d7655.zip
remove static from pointer sized or smaller types for aesthetics, change constexpr static to static constexpr for consistency
Signed-off-by: arades79 <scravers@protonmail.com>
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/common/fibers.cpp2
-rw-r--r--src/tests/input_common/calibration_configuration_job.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/common/fibers.cpp b/src/tests/common/fibers.cpp
index c0b22d0ee..ecad7583f 100644
--- a/src/tests/common/fibers.cpp
+++ b/src/tests/common/fibers.cpp
@@ -76,7 +76,7 @@ void TestControl1::ExecuteThread(u32 id) {
76 * doing all the work required. 76 * doing all the work required.
77 */ 77 */
78TEST_CASE("Fibers::Setup", "[common]") { 78TEST_CASE("Fibers::Setup", "[common]") {
79 constexpr static std::size_t num_threads = 7; 79 constexpr std::size_t num_threads = 7;
80 TestControl1 test_control{}; 80 TestControl1 test_control{};
81 test_control.thread_fibers.resize(num_threads); 81 test_control.thread_fibers.resize(num_threads);
82 test_control.work_fibers.resize(num_threads); 82 test_control.work_fibers.resize(num_threads);
diff --git a/src/tests/input_common/calibration_configuration_job.cpp b/src/tests/input_common/calibration_configuration_job.cpp
index 8d3951ee6..516ff1b30 100644
--- a/src/tests/input_common/calibration_configuration_job.cpp
+++ b/src/tests/input_common/calibration_configuration_job.cpp
@@ -35,8 +35,8 @@ public:
35 } 35 }
36 36
37 void Run(const std::vector<InputCommon::CemuhookUDP::Response::TouchPad> touch_movement_path) { 37 void Run(const std::vector<InputCommon::CemuhookUDP::Response::TouchPad> touch_movement_path) {
38 constexpr static size_t HeaderSize = sizeof(InputCommon::CemuhookUDP::Header); 38 constexpr size_t HeaderSize = sizeof(InputCommon::CemuhookUDP::Header);
39 constexpr static size_t PadDataSize = 39 constexpr size_t PadDataSize =
40 sizeof(InputCommon::CemuhookUDP::Message<InputCommon::CemuhookUDP::Response::PadData>); 40 sizeof(InputCommon::CemuhookUDP::Message<InputCommon::CemuhookUDP::Response::PadData>);
41 41
42 REQUIRE(touch_movement_path.size() > 0); 42 REQUIRE(touch_movement_path.size() > 0);