summaryrefslogtreecommitdiff
path: root/ZAPD/ZVector.cpp
diff options
context:
space:
mode:
authorAnghelo Carvajal <angheloalf95@gmail.com>2021-04-01 19:04:43 -0300
committerGitHub <noreply@github.com>2021-04-01 18:04:43 -0400
commit7a35712e998448324da955bac203040d6361991e (patch)
tree728d24859acf52b7afdad26c4b3761db1a42b308 /ZAPD/ZVector.cpp
parentca4458d0ca12134df8c8c92ebbcd22c0f7c21a71 (diff)
Unmangle backtrace (#100)
* its kinda functional Signed-off-by: angie <angheloalf95@gmail.com> * Looks nicer now Signed-off-by: angie <angheloalf95@gmail.com> * cleanup the makefile Signed-off-by: angie <angheloalf95@gmail.com> * Fix small issues with error handling Signed-off-by: angie <angheloalf95@gmail.com> * fix order of dependencies of main.cpp in makefile Signed-off-by: Angie <angheloalf95@gmail.com> * Add varname to the intersection warning Signed-off-by: angie <angheloalf95@gmail.com> * run clang-format Signed-off-by: angie <angheloalf95@gmail.com> * Don't print the backtrace two times Signed-off-by: angie <angheloalf95@gmail.com>
Diffstat (limited to 'ZAPD/ZVector.cpp')
-rw-r--r--ZAPD/ZVector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ZAPD/ZVector.cpp b/ZAPD/ZVector.cpp
index 68f3739..7659852 100644
--- a/ZAPD/ZVector.cpp
+++ b/ZAPD/ZVector.cpp
@@ -93,7 +93,7 @@ std::string ZVector::GetSourceTypeName()
if (Globals::Instance->verbosity >= VERBOSITY_DEBUG)
printf("%s\n", output.c_str());
- throw output;
+ throw std::runtime_error(output);
}
}