mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-12-03 05:10:14 -05:00
Misc changes (#1513)
* Start moving to string_view where possible * Rework readdir object to use atomic load/store
This commit is contained in:
parent
2101ef5bcc
commit
6ac7f389c5
61 changed files with 841 additions and 745 deletions
|
|
@ -45,7 +45,7 @@
|
|||
FUNC(rand)
|
||||
|
||||
Policy::ActionImpl*
|
||||
Policies::Action::find(const std::string &name_)
|
||||
Policies::Action::find(const std::string_view name_)
|
||||
{
|
||||
IFERT(IFERTA);
|
||||
|
||||
|
|
@ -53,7 +53,7 @@ Policies::Action::find(const std::string &name_)
|
|||
}
|
||||
|
||||
Policy::CreateImpl*
|
||||
Policies::Create::find(const std::string &name_)
|
||||
Policies::Create::find(const std::string_view name_)
|
||||
{
|
||||
IFERT(IFERTC);
|
||||
|
||||
|
|
@ -61,7 +61,7 @@ Policies::Create::find(const std::string &name_)
|
|||
}
|
||||
|
||||
Policy::SearchImpl*
|
||||
Policies::Search::find(const std::string &name_)
|
||||
Policies::Search::find(const std::string_view name_)
|
||||
{
|
||||
IFERT(IFERTS);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue