Files
DevilutionX/Source/panels/charpanel.hpp
T
Gleb MazovetskiyandClaude Fable 5 63e85d9b1b Replace tl::expected with std::expected
Now that the project targets C++23, use the standard library's
std::expected instead of the vendored tl::expected polyfill:

- tl::expected -> std::expected, tl::unexpected/tl::make_unexpected -> std::unexpected
- .map()/.map_error() -> .transform()/.transform_error()
- #include <expected.hpp> -> #include <expected>, grouped with std headers
- Remove 3rdParty/tl/expected.hpp (the tl target remains for function_ref.hpp)

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-07-22 00:00:04 +02:00

18 lines
336 B
C++

#pragma once
#include <expected>
#include <string>
#include "engine/clx_sprite.hpp"
#include "engine/surface.hpp"
namespace devilution {
extern OptionalOwnedClxSpriteList pChrButtons;
void DrawChr(const Surface &);
std::expected<void, std::string> LoadCharPanel();
void FreeCharPanel();
} // namespace devilution