From a6978e254af2a83b2b52778b4c59828b07542e5b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 26 Mar 2012 20:58:09 +0300 Subject: Fix code style and auto check issues. --- src/depricatedevent.cpp | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'src/depricatedevent.cpp') diff --git a/src/depricatedevent.cpp b/src/depricatedevent.cpp index 965876fd1..0d5ffca7b 100644 --- a/src/depricatedevent.cpp +++ b/src/depricatedevent.cpp @@ -39,7 +39,8 @@ DepricatedEvent::~DepricatedEvent() } } -void DepricatedEvent::setInt(const std::string &key, int value) throw (BadDepricatedEvent) +void DepricatedEvent::setInt(const std::string &key, int value) + throw (BadDepricatedEvent) { if (mData.find(key) != mData.end()) throw KEY_ALREADY_EXISTS; @@ -47,7 +48,8 @@ void DepricatedEvent::setInt(const std::string &key, int value) throw (BadDepric mData[key] = new IntData(value); } -int DepricatedEvent::getInt(const std::string &key) const throw (BadDepricatedEvent) +int DepricatedEvent::getInt(const std::string &key) const + throw (BadDepricatedEvent) { VariableMap::const_iterator it = mData.find(key); if (it == mData.end()) @@ -82,7 +84,8 @@ const std::string &DepricatedEvent::getString(const std::string &key) } -void DepricatedEvent::setFloat(const std::string &key, double value) throw (BadDepricatedEvent) +void DepricatedEvent::setFloat(const std::string &key, double value) + throw (BadDepricatedEvent) { if (mData.find(key) != mData.end()) throw KEY_ALREADY_EXISTS; @@ -90,7 +93,8 @@ void DepricatedEvent::setFloat(const std::string &key, double value) throw (BadD mData[key] = new FloatData(value); } -double DepricatedEvent::getFloat(const std::string &key) const throw (BadDepricatedEvent) +double DepricatedEvent::getFloat(const std::string &key) const + throw (BadDepricatedEvent) { VariableMap::const_iterator it = mData.find(key); if (it == mData.end()) -- cgit v1.2.3-60-g2f50