generated from cpp-best-practices/gui_starter_template
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
I might of been messing up my pupu id gen. I noticed as I was fixing up some code. Moving stuff from header files to cpp files. I wasn't returning a reference when I should of been. So this might of caused some issues.
hopefully it wasn't used very often. heh.
constexpr auto operator+=(std::uint32_t right)
{
m_raw += right;
return *this;
}That should of returned an auto & it wasn't, or decltype(auto) could of worked too.
I changed it to
constexpr PupuID &operator+=(std::uint32_t right) noexcept
{
m_raw += right;
return *this;
}Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working