Skip to content

Commit

Permalink
fix: BSFixedString not recognized as string type
Browse files Browse the repository at this point in the history
  • Loading branch information
Deweh committed Jul 27, 2024
1 parent 736d2e1 commit ae6fdf6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions include/RE/B/BSScriptUtil.h
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,14 @@ namespace RE::BSScript
using is_string = std::true_type;
};

template <class CharT, bool CS>
struct script_traits<
RE::detail::BSFixedString<CharT, CS>>
final
{
using is_string = std::true_type;
};

template <class T>
struct script_traits<
std::optional<T>>
Expand Down

0 comments on commit ae6fdf6

Please sign in to comment.