lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 4220f5e 2/8: Assume default allocator always


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 4220f5e 2/8: Assume default allocator always
Date: Sat, 20 Mar 2021 09:55:29 -0400 (EDT)

branch: master
commit 4220f5e4fe579cd8aab86be8f84d272f3a20963a
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    Assume default allocator always
---
 tools/pete-2.1.1/et_vector.hpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tools/pete-2.1.1/et_vector.hpp b/tools/pete-2.1.1/et_vector.hpp
index 17fbee6..5916847 100644
--- a/tools/pete-2.1.1/et_vector.hpp
+++ b/tools/pete-2.1.1/et_vector.hpp
@@ -136,11 +136,11 @@ struct LeafFunctor<std::vector<T>, EvalLeaf1>
 
 struct LengthLeaf {};
 
-template<class T, class Allocator>
-struct LeafFunctor<std::vector<T, Allocator>, LengthLeaf>
+template<class T>
+struct LeafFunctor<std::vector<T>, LengthLeaf>
 {
     typedef int Type_t;
-    static Type_t apply(std::vector<T, Allocator> const& v, LengthLeaf const&)
+    static Type_t apply(std::vector<T> const& v, LengthLeaf const&)
         {return lmi::ssize(v);}
 };
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]