From 4d888ee8fbe141fd65624785758235cd5e62996f Mon Sep 17 00:00:00 2001 From: Ilkka <35461663+ile6695@users.noreply.github.com> Date: Sun, 5 Jun 2022 20:08:58 +0300 Subject: [PATCH] Move function declaration (#3207) --- libtransmission/tr-strbuf.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libtransmission/tr-strbuf.h b/libtransmission/tr-strbuf.h index 038109eef..2e3983f3d 100644 --- a/libtransmission/tr-strbuf.h +++ b/libtransmission/tr-strbuf.h @@ -10,8 +10,6 @@ #include -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();