From 705ec00d5da8de7793dbcfc610fbc2c8b917852e Mon Sep 17 00:00:00 2001 From: Adam Kewley Date: Thu, 4 Jul 2024 15:19:40 +0200 Subject: [PATCH] Fix minor issues spotted by linter --- src/oscar/Platform/os.h | 6 +++--- tests/testoscar/Graphics/TestCamera.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/oscar/Platform/os.h b/src/oscar/Platform/os.h index 56e018b8e..255a14dec 100644 --- a/src/oscar/Platform/os.h +++ b/src/oscar/Platform/os.h @@ -152,9 +152,9 @@ namespace osc // // returns std::nullopt if the user doesn't select a file; otherwise, returns the user-selected save location--including the extension--if // the user selects a location - std::optional promp_user_for_file_save_location_add_extension_if_necessary( - std::optional maybeExtension = std::nullopt, - std::optional maybeInitialDirectoryToOpen = std::nullopt + std::optional prompt_user_for_file_save_location_add_extension_if_necessary( + std::optional maybe_extension = std::nullopt, + std::optional maybe_initial_directory_to_open = std::nullopt ); diff --git a/tests/testoscar/Graphics/TestCamera.cpp b/tests/testoscar/Graphics/TestCamera.cpp index c2e2330c9..c0446c197 100644 --- a/tests/testoscar/Graphics/TestCamera.cpp +++ b/tests/testoscar/Graphics/TestCamera.cpp @@ -28,7 +28,7 @@ TEST(Camera, can_default_construct) TEST(Camera, can_copy_construct) { const Camera camera; - const Camera copy = camera; + const Camera copy = camera; // NOLINT(performance-unnecessary-copy-initialization) } TEST(Camera, copied_instance_compares_equal_to_original)