mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Remove needless dependence on boost
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9961 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a190766a54
commit
a3f5f80f2b
@ -19,7 +19,6 @@
|
|||||||
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#include "Support/iterator"
|
#include "Support/iterator"
|
||||||
#include "boost/type_traits/transform_traits.hpp"
|
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
|
||||||
@ -260,8 +259,8 @@ namespace
|
|||||||
{
|
{
|
||||||
template <typename T1, typename T2>
|
template <typename T1, typename T2>
|
||||||
struct tier {
|
struct tier {
|
||||||
typedef typename boost::add_reference<T1>::type first_type;
|
typedef T1 &first_type;
|
||||||
typedef typename boost::add_reference<T2>::type second_type;
|
typedef T2 &second_type;
|
||||||
|
|
||||||
first_type first;
|
first_type first;
|
||||||
second_type second;
|
second_type second;
|
||||||
|
@ -19,7 +19,6 @@
|
|||||||
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#include "Support/iterator"
|
#include "Support/iterator"
|
||||||
#include "boost/type_traits/transform_traits.hpp"
|
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
|
||||||
@ -260,8 +259,8 @@ namespace
|
|||||||
{
|
{
|
||||||
template <typename T1, typename T2>
|
template <typename T1, typename T2>
|
||||||
struct tier {
|
struct tier {
|
||||||
typedef typename boost::add_reference<T1>::type first_type;
|
typedef T1 &first_type;
|
||||||
typedef typename boost::add_reference<T2>::type second_type;
|
typedef T2 &second_type;
|
||||||
|
|
||||||
first_type first;
|
first_type first;
|
||||||
second_type second;
|
second_type second;
|
||||||
|
Loading…
Reference in New Issue
Block a user