Skip to content

Commit 63454e9

Browse files
committed
making this constexpr
1 parent bd50e49 commit 63454e9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/DebuggerCore/unix/linux/arch/x86-generic/PlatformThread.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ void PlatformThread::getState(State *state) {
159159
// may remain not updated. Also, this way we'll mark all the unfilled values.
160160
state_impl->clear();
161161

162-
if (EDB_IS_64_BIT) {
162+
if constexpr (EDB_IS_64_BIT) {
163163
// 64-bit GETREGS call always returns 64-bit state, so use it
164164
fillStateFromSimpleRegs(state_impl);
165165
} else if (!fillStateFromPrStatus(state_impl)) {

0 commit comments

Comments
 (0)