From a042d60283be1d7ff3d782700d3b953516184e6d Mon Sep 17 00:00:00 2001 From: Tom Poole Date: Tue, 12 Feb 2019 16:02:01 +0000 Subject: [PATCH] Fixed compatibility with VS2013 --- .../juce_audio_plugin_client/utility/juce_PluginHostType.h | 4 ++-- .../format_types/VST3_SDK/pluginterfaces/base/fplatform.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/juce_audio_plugin_client/utility/juce_PluginHostType.h b/modules/juce_audio_plugin_client/utility/juce_PluginHostType.h index 2530e67c4d..7afc87e830 100644 --- a/modules/juce_audio_plugin_client/utility/juce_PluginHostType.h +++ b/modules/juce_audio_plugin_client/utility/juce_PluginHostType.h @@ -41,8 +41,8 @@ class PluginHostType public: //============================================================================== PluginHostType() : type (getHostType()) {} - PluginHostType (const PluginHostType& other) noexcept = default; - PluginHostType& operator= (const PluginHostType& other) noexcept = default; + PluginHostType (const PluginHostType& other) = default; + PluginHostType& operator= (const PluginHostType& other) = default; //============================================================================== /** Represents the host type and also its version for some hosts. */ diff --git a/modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/base/fplatform.h b/modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/base/fplatform.h index 6b2b57d99c..e82897efe0 100644 --- a/modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/base/fplatform.h +++ b/modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/base/fplatform.h @@ -70,7 +70,7 @@ #endif #ifdef __cplusplus - #define SMTG_CPP11 __cplusplus >= 201103L || _MSC_VER > 1600 || SMTG_INTEL_CXX11_MODE + #define SMTG_CPP11 __cplusplus >= 201103L || _MSC_VER > 1800 || SMTG_INTEL_CXX11_MODE #define SMTG_CPP11_STDLIBSUPPORT SMTG_CPP11 #define SMTG_HAS_NOEXCEPT _MSC_VER >= 1900 || (SMTG_INTEL_CXX11_MODE && SMTG_INTEL_COMPILER >= 1300) #endif