mirror of
https://github.com/transmission/transmission
synced 2024-12-26 01:27:28 +00:00
Move function declaration (#3207)
This commit is contained in:
parent
9cbb4d3384
commit
4d888ee8fb
1 changed files with 1 additions and 2 deletions
|
@ -10,8 +10,6 @@
|
|||
|
||||
#include <fmt/format.h>
|
||||
|
||||
std::string_view tr_sys_path_dirname(std::string_view path);
|
||||
|
||||
/**
|
||||
* A memory buffer which uses a builtin array of N bytes, using heap
|
||||
* memory only if its string gets too big. Its main use case is building
|
||||
|
@ -268,6 +266,7 @@ public:
|
|||
|
||||
bool popdir() noexcept
|
||||
{
|
||||
std::string_view tr_sys_path_dirname(std::string_view path);
|
||||
auto const parent = tr_sys_path_dirname(sv());
|
||||
auto const changed = parent != sv();
|
||||
|
||||
|
|
Loading…
Reference in a new issue