summaryrefslogtreecommitdiff
path: root/config.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2006-03-17 01:25:39 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 02:41:31 -0400
commitab748ed13ed87369e2e4ed5a617b5de12750fda6 (patch)
tree9f1cd8870ad3c55c9b7cd168be8893af9f888402 /config.cc
parent9800e3febc456edcafbb172c6bef67526a8481da (diff)
downloadfork-ledger-ab748ed13ed87369e2e4ed5a617b5de12750fda6.tar.gz
fork-ledger-ab748ed13ed87369e2e4ed5a617b5de12750fda6.tar.bz2
fork-ledger-ab748ed13ed87369e2e4ed5a617b5de12750fda6.zip
*** empty log message ***
Diffstat (limited to 'config.cc')
-rw-r--r--config.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/config.cc b/config.cc
index 35c42137..a1ba6496 100644
--- a/config.cc
+++ b/config.cc
@@ -106,7 +106,8 @@ std::string expand_path(const std::string& path)
return result;
}
-inline std::string resolve_path(const std::string& path) {
+std::string resolve_path(const std::string& path)
+{
if (path[0] == '~')
return expand_path(path);
return path;