aboutsummaryrefslogtreecommitdiffstats
path: root/CodeFragment.h
diff options
context:
space:
mode:
authorChristoph Jentzsch <jentzsch.software@gmail.com>2014-10-02 20:20:33 +0800
committerChristoph Jentzsch <jentzsch.software@gmail.com>2014-10-02 20:20:33 +0800
commitf61c3232449d36cc44bcff70240f5292bf8f9f16 (patch)
tree4e01f1f1804dc1381bb8464d9f0ef7a2671330d3 /CodeFragment.h
parent55d0e1c34ef3c14b2c262fe7edd4fdc2f18bcfb5 (diff)
downloaddexon-solidity-f61c3232449d36cc44bcff70240f5292bf8f9f16.tar
dexon-solidity-f61c3232449d36cc44bcff70240f5292bf8f9f16.tar.gz
dexon-solidity-f61c3232449d36cc44bcff70240f5292bf8f9f16.tar.bz2
dexon-solidity-f61c3232449d36cc44bcff70240f5292bf8f9f16.tar.lz
dexon-solidity-f61c3232449d36cc44bcff70240f5292bf8f9f16.tar.xz
dexon-solidity-f61c3232449d36cc44bcff70240f5292bf8f9f16.tar.zst
dexon-solidity-f61c3232449d36cc44bcff70240f5292bf8f9f16.zip
Restructured exceptions. Boost::exception is now used primarily.
Diffstat (limited to 'CodeFragment.h')
-rw-r--r--CodeFragment.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/CodeFragment.h b/CodeFragment.h
index 60ab7c6d..d6ca86bb 100644
--- a/CodeFragment.h
+++ b/CodeFragment.h
@@ -50,7 +50,7 @@ public:
private:
void finalise(CompilerState const& _cs);
- template <class T> void error() const { throw T(); }
+ template <class T> void error() const { BOOST_THROW_EXCEPTION(T() ); }
void constructOperation(sp::utree const& _t, CompilerState& _s);
bool m_finalised = false;