Skip to content

Commit 8affc40

Browse files
Update src/npctalk.cpp
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent a5671b5 commit 8affc40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/npctalk.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3518,7 +3518,7 @@ talk_effect_fun_t::func f_add_trait( const JsonObject &jo, std::string_view memb
35183518
const auto &existing_types = existing->types;
35193519
for( const std::string &t : existing_types ) {
35203520
bool match = false;
3521-
if constexpr( std::is_same<decltype(new_types), const std::set<std::string> &>::value ) {
3521+
if constexpr( std::is_same<decltype( new_types ), const std::set<std::string> &>::value ) {
35223522
match = new_types.count( t ) > 0;
35233523
} else {
35243524
match = std::find( new_types.begin(), new_types.end(), t ) != new_types.end();

0 commit comments

Comments
 (0)