Permalink
Browse files

Merge pull request #2 from sigiesec/patch-1

Visual Studio >= 2015 now supports noexcept
  • Loading branch information...
giacomodrago committed Jan 1, 2018
2 parents 5677a02 + b12a070 commit a074dc72cf368bd611c0d1476a1ba0b451f26bfe
Showing with 4 additions and 4 deletions.
  1. +4 −4 fcmm.hpp
@@ -45,11 +45,11 @@
#ifndef FCMM_H_
#define FCMM_H_

// The noexcept specifier is unsupported in Visual Studio
#ifndef _MSC_VER
#define FCMM_NOEXCEPT noexcept
// The noexcept specifier is unsupported before Visual Studio 2015
#if defined(_MSC_VER) && _MSC_VER < 1900
#define FCMM_NOEXCEPT
#else
#define FCMM_NOEXCEPT
#define FCMM_NOEXCEPT noexcept
#endif

#include <cstddef>

0 comments on commit a074dc7

Please sign in to comment.