From 84c919f20fa15d4494f3bcac3c6abe0f90f1111b Mon Sep 17 00:00:00 2001 From: Sid672 Date: Sat, 11 Sep 2021 14:37:04 +0530 Subject: [PATCH] Move doc from restrict.cpp to header --- Source/restrict.cpp | 4 ---- Source/restrict.h | 5 ++++- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Source/restrict.cpp b/Source/restrict.cpp index c210157ea..7958678c8 100644 --- a/Source/restrict.cpp +++ b/Source/restrict.cpp @@ -10,10 +10,6 @@ namespace devilution { -/** - * @brief Check that we have write access to the game install folder - - */ void ReadOnlyTest() { const std::string path = paths::PrefPath() + "Diablo1ReadOnlyTest.foo"; diff --git a/Source/restrict.h b/Source/restrict.h index a9e30de70..9fce1165c 100644 --- a/Source/restrict.h +++ b/Source/restrict.h @@ -7,6 +7,9 @@ namespace devilution { +/** + * @brief Check that we have write access to the game install folder + */ void ReadOnlyTest(); -} +} // namespace devilution