mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
Fix GitHub inline warnings (#5681)
This commit is contained in:
@@ -116,7 +116,8 @@ static void DisplayGui() {
|
||||
ImGui::SetNextWindowPos(ImVec2(0, 0));
|
||||
int width, height;
|
||||
glfwGetWindowSize(gui::GetSystemWindow(), &width, &height);
|
||||
ImGui::SetNextWindowSize(ImVec2(width, height));
|
||||
ImGui::SetNextWindowSize(
|
||||
ImVec2(static_cast<float>(width), static_cast<float>(height)));
|
||||
|
||||
ImGui::Begin("Entries", nullptr,
|
||||
ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_MenuBar |
|
||||
|
||||
@@ -128,7 +128,7 @@ bool AddIcon(const unsigned char* data, int len);
|
||||
|
||||
inline bool AddIcon(std::string_view data) {
|
||||
return AddIcon(reinterpret_cast<const unsigned char*>(data.data()),
|
||||
data.size());
|
||||
static_cast<int>(data.size()));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user