diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-06-12 20:11:48 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-06-12 20:11:48 +0100 |
commit | 6b36b5c620cdde18468a4bddb4ba62a6db7f6829 (patch) | |
tree | bc65e5d0e589088b7779650d94858ef0155397b4 /lib | |
parent | Load schema and config etc from target DB (diff) | |
download | mygrate-6b36b5c620cdde18468a4bddb4ba62a6db7f6829.tar.bz2 mygrate-6b36b5c620cdde18468a4bddb4ba62a6db7f6829.tar.xz mygrate-6b36b5c620cdde18468a4bddb4ba62a6db7f6829.zip |
Fix passing multiple params to verify exception
Diffstat (limited to 'lib')
-rw-r--r-- | lib/helpers.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/helpers.h b/lib/helpers.h index d2584d0..17c60dc 100644 --- a/lib/helpers.h +++ b/lib/helpers.h @@ -20,7 +20,7 @@ namespace MyGrate { verify(bool expr, P &&... p) { if (!expr) { - throw X(std::forward<P...>(p)...); + throw X(std::forward<P>(p)...); } } |