Skip to content

Commit

Permalink
Use brackets include for third-party libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-fedin authored and john-preston committed Jun 6, 2022
1 parent 850a889 commit e3880a6
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion base/algorithm_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// For license and copyright information please follow this link:
// https://github.com/desktop-app/legal/blob/master/LEGAL
//
#include "catch.hpp"
#include <catch.hpp>

#include "base/index_based_iterator.h"

Expand Down
8 changes: 4 additions & 4 deletions base/crash_report_writer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

#pragma warning(push)
#pragma warning(disable:4091)
#include "client/windows/handler/exception_handler.h"
#include <client/windows/handler/exception_handler.h>
#pragma warning(pop)

#elif defined Q_OS_MAC // Q_OS_WIN
Expand All @@ -46,9 +46,9 @@
#include <unistd.h>

#ifdef USE_BREAKPAD
#include "client/mac/handler/exception_handler.h"
#include <client/mac/handler/exception_handler.h>
#else // USE_BREAKPAD
#include "client/crashpad_client.h"
#include <client/crashpad_client.h>
#endif // USE_BREAKPAD

#elif defined Q_OS_UNIX // Q_OS_MAC
Expand All @@ -58,7 +58,7 @@
#include <sys/syscall.h>
#include <unistd.h>

#include "client/linux/handler/exception_handler.h"
#include <client/linux/handler/exception_handler.h>

#endif // Q_OS_UNIX

Expand Down
2 changes: 1 addition & 1 deletion base/flags_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// For license and copyright information please follow this link:
// https://github.com/desktop-app/legal/blob/master/LEGAL
//
#include "catch.hpp"
#include <catch.hpp>

#include "base/flags.h"

Expand Down
2 changes: 1 addition & 1 deletion base/flat_map_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// For license and copyright information please follow this link:
// https://github.com/desktop-app/legal/blob/master/LEGAL
//
#include "catch.hpp"
#include <catch.hpp>

#include "base/flat_map.h"
#include <string>
Expand Down
2 changes: 1 addition & 1 deletion base/flat_set_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// For license and copyright information please follow this link:
// https://github.com/desktop-app/legal/blob/master/LEGAL
//
#include "catch.hpp"
#include <catch.hpp>

#include "base/flat_set.h"

Expand Down
2 changes: 1 addition & 1 deletion base/platform/win/base_system_media_controls_win.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//
#include "base/platform/base_platform_system_media_controls.h"

#include "unknwn.h" // Conversion from winrt::guid_of to GUID.
#include <unknwn.h> // Conversion from winrt::guid_of to GUID.

#include "base/integration.h"
#include "base/platform/win/base_info_win.h"
Expand Down
4 changes: 2 additions & 2 deletions base/tests_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
// https://github.com/desktop-app/legal/blob/master/LEGAL
//
#define CATCH_CONFIG_RUNNER
#include "catch.hpp"
#include "reporters/catch_reporter_compact.hpp"
#include <catch.hpp>
#include <reporters/catch_reporter_compact.hpp>
#include <QFile>

int (*TestForkedMethod)()/* = nullptr*/;
Expand Down

0 comments on commit e3880a6

Please sign in to comment.