projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Mark ImmutableMap::remove/add() const.
[oota-llvm.git]
/
include
/
llvm
/
ADT
/
PriorityQueue.h
diff --git
a/include/llvm/ADT/PriorityQueue.h
b/include/llvm/ADT/PriorityQueue.h
index f10bb6c7afa85a842511b923defc1b5014c13dcc..bf8a687081638fdbdc7daa535751ccae1bf1928a 100644
(file)
--- a/
include/llvm/ADT/PriorityQueue.h
+++ b/
include/llvm/ADT/PriorityQueue.h
@@
-14,13
+14,14
@@
#ifndef LLVM_ADT_PRIORITY_QUEUE_H
#define LLVM_ADT_PRIORITY_QUEUE_H
#ifndef LLVM_ADT_PRIORITY_QUEUE_H
#define LLVM_ADT_PRIORITY_QUEUE_H
+#include <algorithm>
#include <queue>
namespace llvm {
/// PriorityQueue - This class behaves like std::priority_queue and
/// provides a few additional convenience functions.
#include <queue>
namespace llvm {
/// PriorityQueue - This class behaves like std::priority_queue and
/// provides a few additional convenience functions.
-///
+///
template<class T,
class Sequence = std::vector<T>,
class Compare = std::less<typename Sequence::value_type> >
template<class T,
class Sequence = std::vector<T>,
class Compare = std::less<typename Sequence::value_type> >