summaryrefslogtreecommitdiff
path: root/src/path.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2016-03-23 21:57:41 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2016-03-29 22:43:32 +0200
commit6ac5946767ba41d7eff9eb8521519007fdc58750 (patch)
tree3ea70169dfe7568fa97c54c19a6f2de5189ef249 /src/path.h
parentef1d7e4478649296ccb17900acc949a604097d66 (diff)
More cleanup.
Diffstat (limited to 'src/path.h')
-rw-r--r--src/path.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/path.h b/src/path.h
index 17b63d9..50ff842 100644
--- a/src/path.h
+++ b/src/path.h
@@ -24,11 +24,9 @@
* 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__*/
+//! \returns path component of full filename with path.
+std::string getPath(const std::string& file);