Skip to content

Commit 7334df3

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

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
@@ -3506,7 +3506,7 @@ talk_effect_fun_t::func f_add_trait( const JsonObject &jo, std::string_view memb
35063506
const auto &existing_types = existing->types;
35073507
for( const std::string &t : existing_types ) {
35083508
bool match = false;
3509-
if constexpr( std::is_same<decltype(new_types), const std::set<std::string> &>::value ) {
3509+
if constexpr( std::is_same<decltype( new_types ), const std::set<std::string> &>::value ) {
35103510
match = new_types.count( t ) > 0;
35113511
} else {
35123512
match = std::find( new_types.begin(), new_types.end(), t ) != new_types.end();

0 commit comments

Comments
 (0)