File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,6 @@ class prevector {
50
50
T* ptr{};
51
51
public:
52
52
typedef Diff difference_type;
53
- typedef T value_type;
54
53
typedef T* pointer;
55
54
typedef T& reference;
56
55
using element_type = T;
@@ -102,7 +101,6 @@ class prevector {
102
101
const T* ptr{};
103
102
public:
104
103
typedef Diff difference_type;
105
- typedef const T value_type;
106
104
typedef const T* pointer;
107
105
typedef const T& reference;
108
106
using element_type = const T;
Original file line number Diff line number Diff line change @@ -429,11 +429,11 @@ class CScript : public CScriptBase
429
429
}
430
430
return *this ;
431
431
}
432
+
432
433
public:
433
434
CScript () = default ;
434
- CScript (const_iterator pbegin, const_iterator pend) : CScriptBase(pbegin, pend) { }
435
- CScript (std::vector<unsigned char >::const_iterator pbegin, std::vector<unsigned char >::const_iterator pend) : CScriptBase(pbegin, pend) { }
436
- CScript (const unsigned char * pbegin, const unsigned char * pend) : CScriptBase(pbegin, pend) { }
435
+ template <std::input_iterator InputIterator>
436
+ CScript (InputIterator first, InputIterator last) : CScriptBase{first, last} { }
437
437
438
438
SERIALIZE_METHODS (CScript, obj) { READWRITE (AsBase<CScriptBase>(obj)); }
439
439
You can’t perform that action at this time.
0 commit comments