Skip to content

Commit

Permalink
Update to_string method
Browse files Browse the repository at this point in the history
  • Loading branch information
gammasoft71 committed Sep 6, 2024
1 parent ce8c67c commit 5b26e00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xtd.core/include/xtd/collections/generic/params.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ namespace xtd {
/// @remarks If the params is empty, the values of begin() and end() are unspecified, but will be identical.
iterator end() const noexcept {return items_.end();}

xtd::string to_string() const noexcept override {return xtd::string::format("[{}]", xtd::string::join(", ", items_));}
xtd::string to_string() const noexcept override {return xtd::string::format("{}", items_);}
/// @}

/// @name Public Operators
Expand Down

0 comments on commit 5b26e00

Please sign in to comment.