summaryrefslogtreecommitdiff
path: root/error.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-08-02 16:23:58 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-08-02 16:32:16 -0400
commite52a6a9bd8e2bbf3a497696eed735eb00a8b9dde (patch)
tree2eb460e8512c91af08ff5884b680d1a49fe0c743 /error.h
parent9a9e06554eb9f57be8c839fb0af49a0473614172 (diff)
downloadfork-ledger-e52a6a9bd8e2bbf3a497696eed735eb00a8b9dde.tar.gz
fork-ledger-e52a6a9bd8e2bbf3a497696eed735eb00a8b9dde.tar.bz2
fork-ledger-e52a6a9bd8e2bbf3a497696eed735eb00a8b9dde.zip
More infrastructure work toward getting journal objects to provide their own
information in an abstract manner.
Diffstat (limited to 'error.h')
-rw-r--r--error.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/error.h b/error.h
index 4eaf72a8..fafef08e 100644
--- a/error.h
+++ b/error.h
@@ -37,7 +37,7 @@ namespace ledger {
extern std::ostringstream _desc_buffer;
template <typename T>
-inline void throw_func(const std::string& message) {
+inline void throw_func(const string& message) {
_desc_buffer.str("");
throw T(message);
}