Revision: 23454
Author: [email protected]
Date: Wed Aug 27 13:12:56 2014 UTC
Log: Fix >> versus > > for stupid C++ compilers.
[email protected]
BUG=
Review URL: https://codereview.chromium.org/489733004
https://code.google.com/p/v8/source/detail?r=23454
Modified:
/branches/bleeding_edge/src/zone-containers.h
=======================================
--- /branches/bleeding_edge/src/zone-containers.h Tue Aug 26 13:09:08 2014
UTC
+++ /branches/bleeding_edge/src/zone-containers.h Wed Aug 27 13:12:56 2014
UTC
@@ -17,36 +17,37 @@
// A wrapper subclass for std::vector to make it easy to construct one
// that uses a zone allocator.
template <typename T>
-class ZoneVector : public std::vector<T, zone_allocator<T>> {
+class ZoneVector : public std::vector<T, zone_allocator<T> > {
public:
// Constructs an empty vector.
explicit ZoneVector(Zone* zone)
- : std::vector<T, zone_allocator<T>>(zone_allocator<T>(zone)) {}
+ : std::vector<T, zone_allocator<T> >(zone_allocator<T>(zone)) {}
// Constructs a new vector and fills it with {size} elements, each
// having the value {def}.
ZoneVector(int size, T def, Zone* zone)
- : std::vector<T, zone_allocator<T>>(size, def,
zone_allocator<T>(zone)) {}
+ : std::vector<T, zone_allocator<T> >(size, def,
zone_allocator<T>(zone)) {
+ }
};
// A wrapper subclass std::deque to make it easy to construct one
// that uses a zone allocator.
template <typename T>
-class ZoneDeque : public std::deque<T, zone_allocator<T>> {
+class ZoneDeque : public std::deque<T, zone_allocator<T> > {
public:
explicit ZoneDeque(Zone* zone)
- : std::deque<T, zone_allocator<T>>(zone_allocator<T>(zone)) {}
+ : std::deque<T, zone_allocator<T> >(zone_allocator<T>(zone)) {}
};
// A wrapper subclass for std::queue to make it easy to construct one
// that uses a zone allocator.
template <typename T>
-class ZoneQueue : public std::queue<T, std::deque<T, zone_allocator<T>>> {
+class ZoneQueue : public std::queue<T, std::deque<T, zone_allocator<T> > >
{
public:
// Constructs an empty queue.
explicit ZoneQueue(Zone* zone)
- : std::queue<T, std::deque<T, zone_allocator<T>>>(
- std::deque<T, zone_allocator<T>>(zone_allocator<T>(zone))) {}
+ : std::queue<T, std::deque<T, zone_allocator<T> > >(
+ std::deque<T, zone_allocator<T> >(zone_allocator<T>(zone))) {}
};
// Typedefs to shorten commonly used vectors.
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.