mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 05:27:41 -05:00
chore: apply light lints (#2570)
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
|
||||
#include <imgui.h>
|
||||
#include <hex/ui/imgui_imhex_extensions.h>
|
||||
#include <content/tools_entries.hpp>
|
||||
|
||||
#include <fonts/vscode_icons.hpp>
|
||||
|
||||
|
||||
@@ -124,7 +124,7 @@ namespace hex::plugin::builtin {
|
||||
|
||||
if (response.valid() && response.wait_for(0s) != std::future_status::timeout) {
|
||||
const auto result = response.get();
|
||||
const auto data = result.getData();
|
||||
const auto& data = result.getData();
|
||||
|
||||
if (const auto status = result.getStatusCode(); status != 0)
|
||||
responseText = "Status: " + std::to_string(result.getStatusCode()) + "\n\n" + data;
|
||||
|
||||
@@ -25,12 +25,12 @@ namespace hex::plugin::builtin {
|
||||
|
||||
class IEEE754STATICS {
|
||||
public:
|
||||
IEEE754STATICS() : value(0), exponentBitCount(8), mantissaBitCount(23), resultFloat(0) {}
|
||||
IEEE754STATICS() {}
|
||||
|
||||
u128 value;
|
||||
i32 exponentBitCount;
|
||||
i32 mantissaBitCount;
|
||||
long double resultFloat;
|
||||
u128 value = 0;
|
||||
i32 exponentBitCount = 8;
|
||||
i32 mantissaBitCount =23;
|
||||
long double resultFloat = 0;
|
||||
};
|
||||
|
||||
static IEEE754STATICS ieee754statics;
|
||||
|
||||
Reference in New Issue
Block a user