Declaration and assignment can be joined, Member function may be 'const'. (#2875)

This commit is contained in:
stfx
2019-10-28 13:02:59 +01:00
committed by omar
parent c863c1f6a1
commit 6bf5aed325
4 changed files with 10 additions and 11 deletions

View File

@ -624,7 +624,7 @@ struct IMGUI_API ImGuiMenuColumns
ImGuiMenuColumns();
void Update(int count, float spacing, bool clear);
float DeclColumns(float w0, float w1, float w2);
float CalcExtraSpace(float avail_w);
float CalcExtraSpace(float avail_w) const;
};
// Internal state of the currently focused/edited text input box