ImGui
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -45,7 +45,7 @@ namespace ImGui
|
||||
, bool autoExpandScale, bool startCollapsed = false, bool drawMostRecentValue = true);
|
||||
|
||||
// How many values are in the container currently
|
||||
int GetSize() { return m_values.size(); }
|
||||
int GetSize() { return static_cast<int>(m_values.size()); }
|
||||
|
||||
// What is the max size of the container
|
||||
int GetMaxSize() { return m_maxSize; }
|
||||
@@ -57,7 +57,7 @@ namespace ImGui
|
||||
void PushValue(float val);
|
||||
|
||||
// Get the last value pushed
|
||||
float GetLastValue() { return GetValue(m_values.size() - 1); }
|
||||
float GetLastValue() { return GetValue(static_cast<int>(m_values.size() - 1)); }
|
||||
|
||||
// Get a Values at a particular index
|
||||
float GetValue(int index) { return index < m_values.size() ? m_values.at(index) : 0.0f; }
|
||||
|
||||
@@ -940,7 +940,7 @@ namespace ImGui
|
||||
rootSliceComponent->GetEntityIds(entityIds);
|
||||
|
||||
// Save off our count for use later.
|
||||
m_totalEntitiesFound = entityIds.size();
|
||||
m_totalEntitiesFound = static_cast<int>(entityIds.size());
|
||||
|
||||
// Clear the entityId to InfoNodePtr Map.
|
||||
m_entityIdToInfoNodePtrMap.clear();
|
||||
|
||||
Reference in New Issue
Block a user