diff options
author | Linus Groh <mail@linusgroh.de> | 2023-01-26 18:58:09 +0000 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2023-01-27 20:38:49 +0000 |
commit | 6e7459322d8336bfe52e390ab4a1b2e82e24c05e (patch) | |
tree | 6da4b3a89764a22a1c62eabfa5fc5ee954519c41 /Userland/Applications/SpaceAnalyzer | |
parent | da81041e97d0fc7d37a985ce6ca4ded19ce2cdd1 (diff) | |
download | serenity-6e7459322d8336bfe52e390ab4a1b2e82e24c05e.zip |
AK: Remove StringBuilder::build() in favor of to_deprecated_string()
Having an alias function that only wraps another one is silly, and
keeping the more obvious name should flush out more uses of deprecated
strings.
No behavior change.
Diffstat (limited to 'Userland/Applications/SpaceAnalyzer')
-rw-r--r-- | Userland/Applications/SpaceAnalyzer/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/SpaceAnalyzer/main.cpp b/Userland/Applications/SpaceAnalyzer/main.cpp index 44f9262e3c..6d4ad1591f 100644 --- a/Userland/Applications/SpaceAnalyzer/main.cpp +++ b/Userland/Applications/SpaceAnalyzer/main.cpp @@ -146,7 +146,7 @@ static DeprecatedString get_absolute_path_to_selected_node(SpaceAnalyzer::TreeMa TreeNode const* node = treemapwidget.path_node(k); path_builder.append(node->name()); } - return path_builder.build(); + return path_builder.to_deprecated_string(); } ErrorOr<int> serenity_main(Main::Arguments arguments) |