forked from halfgaar/FlashMQ
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I share my tmpdir with Portage that runs testcases with its own user account. If there are hardcoded paths I run into permissions issues when I want to run the testcases.
- Loading branch information
quinox
committed
Jul 7, 2024
1 parent
9de0a71
commit 9c17575
Showing
3 changed files
with
25 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,19 @@ | ||
#ifndef FLASHMQTEMPDIR_H | ||
#define FLASHMQTEMPDIR_H | ||
|
||
#include <filesystem> | ||
#include <stdlib.h> | ||
#include <string> | ||
#include <vector> | ||
|
||
class FlashMQTempDir | ||
{ | ||
std::string path; | ||
std::filesystem::path path; | ||
|
||
public: | ||
FlashMQTempDir(); | ||
~FlashMQTempDir(); | ||
const std::string &getPath() const; | ||
const std::filesystem::path &getPath() const; | ||
}; | ||
|
||
#endif // FLASHMQTEMPDIR_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters