Skip to content

Commit 219a5db

Browse files
committed
feat(ST-LIB): Add constexpr to instance_of()
1 parent 5570659 commit 219a5db

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Inc/ST-LIB.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ template <auto&... devs> struct Board {
321321
}
322322
}
323323

324-
template <auto& Target> static auto& instance_of() {
324+
template <auto& Target> static constexpr auto& instance_of() {
325325
using DevT = std::remove_cvref_t<decltype(Target)>;
326326
using Domain = typename DevT::domain;
327327

0 commit comments

Comments
 (0)