Mark a lot of functions static (where possible)

This commit is contained in:
Alex Beregszaszi
2017-08-22 10:51:46 +01:00
parent 2a5772cff7
commit 9897c56b2c
7 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -50,8 +50,8 @@ public:
private:
void finalise(CompilerState const& _cs);
template <class T> void error() const { BOOST_THROW_EXCEPTION(T() ); }
template <class T> void error(std::string const& reason) const {
template <class T> static void error() { BOOST_THROW_EXCEPTION(T() ); }
template <class T> static void error(std::string const& reason) {
auto err = T();
err << errinfo_comment(reason);
BOOST_THROW_EXCEPTION(err);