abouttreesummaryrefslogcommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorPatrick Schönberger2021-08-04 17:46:48 +0200
committerPatrick Schönberger2021-08-04 17:46:48 +0200
commitc2ba7425955ae538e220cec79d9124756d1b4c8b (patch)
tree95ae57095eaf15a8914edf0eda6a7d842ec2f10d /src/main.cpp
parent7f83e1b208e87e3808b268303bb633a8fda203f5 (diff)
downloadtoc-c2ba7425955ae538e220cec79d9124756d1b4c8b.tar.gz
toc-c2ba7425955ae538e220cec79d9124756d1b4c8b.zip
function resolution, pre generics
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 461d014..e7c03e6 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -48,7 +48,7 @@ int main(int argc, const char * argv[])
tocProgram(ofs, prg);
ofs.close();
}
- catch (const std::string & e)
+ catch (const char * e)
{
std::cerr << "Error: " << e << std::endl;
}