Skip to content

Commit

Permalink
Do not generate get_buffer for bool vector (#196)
Browse files Browse the repository at this point in the history
Signed-off-by: Ricardo González Moreno <[email protected]>
Co-authored-by: Ricardo González Moreno <[email protected]>
  • Loading branch information
EduPonz and richiware authored Jun 23, 2023
1 parent 4e246f2 commit 4682655
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ template_sequence(typecode) ::= <<
$if(typecode.contentTypeCode.isSequenceType)$
$template_sequence(typecode.contentTypeCode)$
$elseif(typecode.contentTypeCode.primitive)$
$if(!typecode.contentTypeCode.isType_7)$
%extend std::vector<$typecode.contentTypeCode.cppTypename$>
{
const $typecode.contentTypeCode.cppTypename$* get_buffer() const
Expand All @@ -112,6 +113,7 @@ $elseif(typecode.contentTypeCode.primitive)$
}
}
$endif$
$endif$

%template($template_sequence_name(typecode.contentTypeCode)$) std::vector<$typecode.contentTypeCode.cppTypename$>;
>>
Expand Down

0 comments on commit 4682655

Please sign in to comment.