Inline 4 trivial Void delegation shims

Remove YouTubeClient::urlEncode/decodeHtmlEntities/parseIso8601Duration and
StateSerializer::getCurrentTimestampISO8601 — each just forwarded to one Void
call — and have the ~12 call sites call Void directly
(Void::Encoding::Url::encode, Void::Text::html_unescape,
Void::Time::parse_iso8601_interval(...).value_or(0), Void::Time::utc_now_iso8601).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
faumarayandClaude Opus 4.8 committed 2026-06-22 22:04:43 +03:00
1 parent 17f31ea3e0
commit f8757d6040
5 files changed
+13 -51

No files matched your search

+2 -1
View File
@@ -2,6 +2,7 @@
#include "echoion/core/state/StateSerializer.hpp"
#include <Void/Data/Json.hpp>
#include <Void/Data/Reflect.hpp>
#include <Void/Time/Format.hpp>
#include <format>
namespace Echoion::Core
@@ -59,7 +60,7 @@ namespace Echoion::Core
}
v1.version = 1;
v1.savedAt = StateSerializer::getCurrentTimestampISO8601();
v1.savedAt = Void::Time::utc_now_iso8601();
return v1;
}