Fix cygwin problems

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2013-07-16 17:38:51 -07:00
parent e7bfd9a77d
commit c6e68289da
3 changed files with 3 additions and 2 deletions

View file

@ -10,6 +10,7 @@ Author: Leonardo de Moura
#include <set>
#include <string>
#include <memory>
#include <cstdlib>
#ifndef _WINDOWS
// Support for pid

View file

@ -17,7 +17,7 @@ exception::exception(std::string const & msg):m_msg(msg) {
exception::exception(exception const & e):m_msg(e.m_msg) {
}
exception::~exception() {
exception::~exception() noexcept {
}
char const * exception::what() const noexcept {

View file

@ -16,7 +16,7 @@ public:
exception(char const * msg);
exception(std::string const & msg);
exception(exception const & ex);
virtual ~exception();
virtual ~exception() noexcept;
virtual char const * what() const noexcept;
};