1
0
mirror of synced 2024-11-12 02:00:52 +01:00

build: Potentially fix LTO

This commit is contained in:
WerWolv 2022-11-14 10:42:09 +01:00
parent c8af25533d
commit 91a4f52f67
2 changed files with 3 additions and 3 deletions

@ -1 +1 @@
Subproject commit 239b26b573642a393ece29d2b4448ba4aadb9979
Subproject commit 7aeac4a3a9fc06df6bac59fe1a07101b912b9bc7

View File

@ -197,8 +197,8 @@ namespace hex::plugin::builtin::ui {
std::optional<EncodingFile> m_currCustomEncoding;
static std::optional<color_t> defaultColorCallback(u64, const u8 *, size_t) { return std::nullopt; }
static void defaultTooltipCallback(u64, const u8 *, size_t) { }
static inline std::optional<color_t> defaultColorCallback(u64, const u8 *, size_t) { return std::nullopt; }
static inline void defaultTooltipCallback(u64, const u8 *, size_t) { }
std::function<std::optional<color_t>(u64, const u8 *, size_t)> m_foregroundColorCallback = defaultColorCallback, m_backgroundColorCallback = defaultColorCallback;
std::function<void(u64, const u8 *, size_t)> m_tooltipCallback = defaultTooltipCallback;
};