Browse Source

noexcept only on *nix

cl-refactor
Marek Kotewicz 10 years ago
parent
commit
5fc72145af
  1. 4
      libjsengine/JSEngine.h

4
libjsengine/JSEngine.h

@ -29,7 +29,11 @@ namespace eth
{
class JSException: public std::exception {};
#if defined(_MSC_VER)
class JSPrintException: public JSException { char const* what() const { return "Cannot print expression!"; } };
#else
class JSPrintException: public JSException { char const* what() const noexcept { return "Cannot print expression!"; } };
#endif
class JSString
{

Loading…
Cancel
Save