We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f91c80a commit 7c50a50Copy full SHA for 7c50a50
include/rootbench/RBConfig.h
@@ -14,22 +14,22 @@ namespace RB {
14
///
15
///\returns invalid path if the variable is not set.
16
17
- std::string GetTempFs() {
+ inline std::string GetTempFs() {
18
if (char* tempfs = std::getenv("RB_TEMP_FS"))
19
return tempfs;
20
21
rb_abort("Please set the RB_TEMP_FS env variable!");
22
}
23
24
- std::string GetRootSys() {
+ inline std::string GetRootSys() {
25
if (char* rootsys = std::getenv("ROOTSYS"))
26
return rootsys;
27
28
rb_abort("Please set the ROOTSYS env variable!");
29
30
31
/// Return the absolute path to the directory where data will be downloaded
32
- std::string GetDataDir() {
+ inline std::string GetDataDir() {
33
return RB::kDatasetDirectory;
34
35
0 commit comments