summaryrefslogtreecommitdiff
path: root/src/path.h
diff options
context:
space:
mode:
authorChristian Glöckner <cgloeckner@freenet.de>2016-03-29 17:03:13 +0200
committerAndré Nusser <andre.nusser@googlemail.com>2016-03-31 17:44:25 +0200
commite03a52fe134e386c543bc1a83e21114ecedb7561 (patch)
tree83f6ad7d0157cdd4688e2791d6a90245cd862244 /src/path.h
parentc5a62b5490c45995eb2192d0ca8d7acdb9ee35fe (diff)
API Refactoring for getPath function
Diffstat (limited to 'src/path.h')
-rw-r--r--src/path.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/path.h b/src/path.h
index 17b63d9..7189cea 100644
--- a/src/path.h
+++ b/src/path.h
@@ -24,11 +24,8 @@
* along with DrumGizmo; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
*/
-#ifndef __DRUMGIZMO_PATH_H__
-#define __DRUMGIZMO_PATH_H__
+#pragma once
#include <string>
-std::string getPath(std::string file);
-
-#endif/*__DRUMGIZMO_PATH_H__*/
+std::string getPath(const std::string& file);