Move function declaration (#3207)

This commit is contained in:
Ilkka 2022-06-05 20:08:58 +03:00 committed by GitHub
parent 9cbb4d3384
commit 4d888ee8fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -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();