Skip to content

Commit 5c25927

Browse files
committed
Fixed CI compilation.
1 parent e82259a commit 5c25927

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/ngscopeclient/Preference.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -440,11 +440,11 @@ impl::PreferenceBuilder Preference::Color(std::string identifier, const ImU32& d
440440
static_cast<uint8_t>((defaultValue >> IM_COL32_G_SHIFT) & 0xff),
441441
static_cast<uint8_t>((defaultValue >> IM_COL32_B_SHIFT) & 0xff),
442442
static_cast<uint8_t>((defaultValue >> IM_COL32_A_SHIFT) & 0xff)));
443-
new (&pref.m_defaultValue) impl::Color(std::move(impl::Color(
443+
new (&pref.m_defaultValue) impl::Color(
444444
static_cast<uint8_t>((defaultValue >> IM_COL32_R_SHIFT) & 0xff),
445445
static_cast<uint8_t>((defaultValue >> IM_COL32_G_SHIFT) & 0xff),
446446
static_cast<uint8_t>((defaultValue >> IM_COL32_B_SHIFT) & 0xff),
447-
static_cast<uint8_t>((defaultValue >> IM_COL32_A_SHIFT) & 0xff))));
447+
static_cast<uint8_t>((defaultValue >> IM_COL32_A_SHIFT) & 0xff));
448448

449449
return impl::PreferenceBuilder{ std::move(pref) };
450450
}

0 commit comments

Comments
 (0)