projects
/
senf.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
DVBFrontendHandle: added some methods to the protocol
[senf.git]
/
Packets
/
ArrayParser.cti
diff --git
a/Packets/ArrayParser.cti
b/Packets/ArrayParser.cti
index
e0c5dfd
..
874b248
100644
(file)
--- a/
Packets/ArrayParser.cti
+++ b/
Packets/ArrayParser.cti
@@
-69,6
+69,7
@@
prefix_ typename senf::ArrayParser<elements,ElementParser>::value_type
senf::ArrayParser<elements,ElementParser>::operator[](difference_type i)
const
{
+ // Access out of range element
SENF_ASSERT( i>=0 && i < difference_type(elements) );
return begin()[i];
}