Skip to content

Commit

Permalink
greatly optimized PCH for Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
silverqx committed May 22, 2024
1 parent 355008b commit 992429b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions drivers/common/include/pch.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@
# include <qt_windows.h>
#endif

#include <mutex>
#include <shared_mutex>
#include <thread>

#ifdef __linux__
# include <dlfcn.h>
Expand Down
2 changes: 0 additions & 2 deletions drivers/mysql/include/pch.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
/* Add C++ includes here */
#include <QDateTime>

#include <optional>

#include <orm/macros/commonnamespace.hpp>
#include <orm/macros/likely.hpp>
#include <orm/macros/stringify.hpp>
Expand Down
3 changes: 2 additions & 1 deletion include/pch.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,10 @@
#endif

#include <fstream>
#include <optional>
#include <set>
#include <stack>
#include <typeindex>
#include <typeinfo>
#include <unordered_set>

#ifdef __GNUG__
Expand Down

0 comments on commit 992429b

Please sign in to comment.