build: Potentially fix LTO
This commit is contained in:
parent
c8af25533d
commit
91a4f52f67
2
lib/external/pattern_language
vendored
2
lib/external/pattern_language
vendored
@ -1 +1 @@
|
||||
Subproject commit 239b26b573642a393ece29d2b4448ba4aadb9979
|
||||
Subproject commit 7aeac4a3a9fc06df6bac59fe1a07101b912b9bc7
|
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user