mirror of
https://github.com/leanprover/lean4.git
synced 2026-03-17 18:34:06 +00:00
Fix cygwin problems
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
@@ -10,6 +10,7 @@ Author: Leonardo de Moura
|
||||
#include <set>
|
||||
#include <string>
|
||||
#include <memory>
|
||||
#include <cstdlib>
|
||||
|
||||
#ifndef _WINDOWS
|
||||
// Support for pid
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user