mirror of
https://github.com/polybar/polybar.git
synced 2026-03-01 21:58:53 +00:00
refactor(signals): Avoid reinterpret_cast
This commit is contained in:
@ -184,7 +184,7 @@ size_t parser::text(string&& data) {
|
||||
}
|
||||
|
||||
pkt.length = len;
|
||||
m_sig.emit(write_text_string{move(pkt)});
|
||||
m_sig.emit(write_text_string{static_cast<void*>(&pkt)});
|
||||
}
|
||||
|
||||
if (pos > 0) {
|
||||
|
||||
Reference in New Issue
Block a user