Make std::tuple known in Mac build

This commit is contained in:
Paul Licameli 2018-03-01 22:20:22 -05:00
parent 4e0420b9bd
commit 29b214367d
3 changed files with 6 additions and 2 deletions

View File

@ -12,7 +12,7 @@
#ifndef __AUDACITY_BATCH_COMMAND_DIALOG__
#define __AUDACITY_BATCH_COMMAND_DIALOG__
#include <tuple>
#include "MemoryX.h"
#include <wx/defs.h>
#include <wx/string.h>

View File

@ -12,7 +12,7 @@
#ifndef __AUDACITY_BATCH_COMMANDS_DIALOG__
#define __AUDACITY_BATCH_COMMANDS_DIALOG__
#include <tuple>
#include "MemoryX.h"
#include <wx/defs.h>
#include <wx/string.h>

View File

@ -39,6 +39,8 @@ using std::isinf;
// To define unordered_map and hash
#include <tr1/unordered_map>
#include <tr1/tuple>
namespace std {
using std::tr1::unordered_set;
using std::tr1::hash;
@ -53,6 +55,8 @@ namespace std {
using std::tr1::add_const;
using std::tr1::add_pointer;
using std::tr1::remove_pointer;
using std::tr1::tuple;
using std::tr1::get;
template<typename T> struct add_rvalue_reference {
using type = T&&;