| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 43074ee commit 7c35055
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -31,7 +31,7 @@ class FSPermission final : public PermissionBase { | |||
| 31 | 31 | ||
| 32 | 32 | Node() : wildcard_child(nullptr), is_leaf(false) {} | |
| 33 | 33 | ||
| 34 | - Node* CreateChild(std::string prefix) { | ||
| 34 | + Node* CreateChild(const std::string& prefix) { | ||
| 35 | 35 | if (prefix.empty() && !is_leaf) { | |
| 36 | 36 | is_leaf = true; | |
| 37 | 37 | return this; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments