mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-27 06:07:59 +02:00
Make std::tuple known in Mac build
This commit is contained in:
parent
4e0420b9bd
commit
29b214367d
@ -12,7 +12,7 @@
|
|||||||
#ifndef __AUDACITY_BATCH_COMMAND_DIALOG__
|
#ifndef __AUDACITY_BATCH_COMMAND_DIALOG__
|
||||||
#define __AUDACITY_BATCH_COMMAND_DIALOG__
|
#define __AUDACITY_BATCH_COMMAND_DIALOG__
|
||||||
|
|
||||||
#include <tuple>
|
#include "MemoryX.h"
|
||||||
#include <wx/defs.h>
|
#include <wx/defs.h>
|
||||||
#include <wx/string.h>
|
#include <wx/string.h>
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
#ifndef __AUDACITY_BATCH_COMMANDS_DIALOG__
|
#ifndef __AUDACITY_BATCH_COMMANDS_DIALOG__
|
||||||
#define __AUDACITY_BATCH_COMMANDS_DIALOG__
|
#define __AUDACITY_BATCH_COMMANDS_DIALOG__
|
||||||
|
|
||||||
#include <tuple>
|
#include "MemoryX.h"
|
||||||
#include <wx/defs.h>
|
#include <wx/defs.h>
|
||||||
#include <wx/string.h>
|
#include <wx/string.h>
|
||||||
|
|
||||||
|
@ -39,6 +39,8 @@ using std::isinf;
|
|||||||
// To define unordered_map and hash
|
// To define unordered_map and hash
|
||||||
#include <tr1/unordered_map>
|
#include <tr1/unordered_map>
|
||||||
|
|
||||||
|
#include <tr1/tuple>
|
||||||
|
|
||||||
namespace std {
|
namespace std {
|
||||||
using std::tr1::unordered_set;
|
using std::tr1::unordered_set;
|
||||||
using std::tr1::hash;
|
using std::tr1::hash;
|
||||||
@ -53,6 +55,8 @@ namespace std {
|
|||||||
using std::tr1::add_const;
|
using std::tr1::add_const;
|
||||||
using std::tr1::add_pointer;
|
using std::tr1::add_pointer;
|
||||||
using std::tr1::remove_pointer;
|
using std::tr1::remove_pointer;
|
||||||
|
using std::tr1::tuple;
|
||||||
|
using std::tr1::get;
|
||||||
|
|
||||||
template<typename T> struct add_rvalue_reference {
|
template<typename T> struct add_rvalue_reference {
|
||||||
using type = T&&;
|
using type = T&&;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user