Skip to content

Commit

Permalink
Ditto
Browse files Browse the repository at this point in the history
  • Loading branch information
aeris170 committed Sep 2, 2024
1 parent 0c5f80a commit f8990a9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Editor/TextEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wreorder-ctor"
#pragma clang diagnostic ignored "-Wsign-compare"
#pragma clang diagnostic ignored "-Wlogical-op-parantheses"
#pragma clang diagnostic ignored "-Wlogical-op-parentheses"
#pragma clang diagnostic ignored "-Wunused-but-set-variable"
#endif

#include <algorithm>
Expand Down
2 changes: 1 addition & 1 deletion Launcher/FileDialog.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// This is external code. Disabling warnings.
#if defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunsequenced" // Disable -Wunsequenced, https://easings.net/#easeOutBounce
#pragma clang diagnostic ignored "-Wbitwise-instead-of-logical" // Disable -Wunsequenced, https://easings.net/#easeOutBounce
#endif

#include <Launcher/FileDialog.hpp>
Expand Down
2 changes: 1 addition & 1 deletion Launcher/GUI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ bool GUI::IsProjectAlreadyOpen(const ProjectData& project) noexcept {
std::this_thread::sleep_for(150ms); // wait for replies to be sent.

std::vector<std::string> openProjects{};
for (int i = 0; i < maxRequestReplies; i++) {
for (size_t i = 0; i < maxRequestReplies; i++) {
auto path = reply.Receive(ReceiveFlag::DontWait);
if (path == "") { continue; }

Expand Down

0 comments on commit f8990a9

Please sign in to comment.