summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGfx/PortableImageLoaderCommon.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibGfx/PortableImageLoaderCommon.h')
-rw-r--r--Userland/Libraries/LibGfx/PortableImageLoaderCommon.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGfx/PortableImageLoaderCommon.h b/Userland/Libraries/LibGfx/PortableImageLoaderCommon.h
index 35bf7fcbae..74a5ad17b9 100644
--- a/Userland/Libraries/LibGfx/PortableImageLoaderCommon.h
+++ b/Userland/Libraries/LibGfx/PortableImageLoaderCommon.h
@@ -45,7 +45,7 @@ static bool read_number(Streamer& streamer, TValue* value)
sb.append(byte);
}
- auto const opt_value = sb.to_string().to_uint();
+ auto const opt_value = sb.to_deprecated_string().to_uint();
if (!opt_value.has_value()) {
*value = 0;
return false;