Skip to content

Commit

Permalink
use string_view
Browse files Browse the repository at this point in the history
  • Loading branch information
razaqq committed Apr 20, 2023
1 parent 9f26221 commit a9d3f67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Client/src/PotatoClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ DirectoryStatus PotatoClient::CheckPath()
m_dirStatus = dirStatus;

// start watching all replays paths
for (const std::string& folder : dirStatus.replaysPath)
for (std::string_view folder : dirStatus.replaysPath)
{
if (!folder.empty())
{
Expand Down

0 comments on commit a9d3f67

Please sign in to comment.