Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
gammasoft71 committed Oct 1, 2024
1 parent 3898585 commit 4467528
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/xtd.core/src/xtd/system_exception.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,6 @@ const xtd::string& system_exception::member_name() const noexcept {
}

const xtd::string& system_exception::name() const noexcept {
return (data_->name = get_type().full_name());
thread_local static string name;
return (name = get_type().full_name());
}

0 comments on commit 4467528

Please sign in to comment.