summaryrefslogtreecommitdiffstats
path: root/src/binary_location.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-29 18:24:03 +0100
committerDavid Robillard <d@drobilla.net>2020-11-29 18:24:03 +0100
commit178d1cbe1dfc9e7b66c36cbb75590e1cee419174 (patch)
tree4e33ecbff68fc65d9771c2e654411ad9f1aecd86 /src/binary_location.h
parent4265b9a78dac2b7f26f505c7b90b0d88494e93c2 (diff)
downloadpatchage-178d1cbe1dfc9e7b66c36cbb75590e1cee419174.tar.gz
patchage-178d1cbe1dfc9e7b66c36cbb75590e1cee419174.tar.bz2
patchage-178d1cbe1dfc9e7b66c36cbb75590e1cee419174.zip
Put everything in a namespace
Diffstat (limited to 'src/binary_location.h')
-rw-r--r--src/binary_location.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/binary_location.h b/src/binary_location.h
index 6a996e9..220c534 100644
--- a/src/binary_location.h
+++ b/src/binary_location.h
@@ -24,6 +24,8 @@
#include <cstdlib>
#include <string>
+namespace patchage {
+
/** Return the absolute path of the binary. */
inline std::string
binary_location()
@@ -54,3 +56,5 @@ bundle_location()
}
return binary.substr(0, binary.find_last_of('/'));
}
+
+} // namespace patchage