diff options
| author | Bent Bisballe Nyeng <deva@aasimon.org> | 2025-12-23 14:07:46 +0100 |
|---|---|---|
| committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2025-12-23 14:15:15 +0100 |
| commit | 293ccba26f5cd17521df7b4641989dd771865415 (patch) | |
| tree | d6782d07219f333c4a5e29f7c3939d1ff0567676 /src/util.h | |
| parent | 4b72df8f8e32aad83b628fb2f1c852cb108c2aba (diff) | |
Use std::string_view instead of std::string in tools.cc whenever applicable
Diffstat (limited to 'src/util.h')
| -rw-r--r-- | src/util.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -34,7 +34,7 @@ std::string locate(const std::string& app, const std::string& arch = {}); //! Splits string into tokens adhering to quotations " and ' -std::vector<std::string> argsplit(const std::string& str); +std::vector<std::string> argsplit(std::string_view str); //! Calls the system getenv and sets the string if the env name it exists. //! \returns true if the env name existed, false otherwise. |
