Skip to content

Commit

Permalink
correcting android build
Browse files Browse the repository at this point in the history
  • Loading branch information
remibettan committed Jul 26, 2023
1 parent 2896350 commit d4926ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/image.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace librealsense

template<class SOURCE, class SPLIT_A, class SPLIT_B> void split_frame(byte * const dest[], int count, const SOURCE * source, SPLIT_A split_a, SPLIT_B split_b)
{
if (dest && dest.size() > 1)
if (dest)
{
auto a = reinterpret_cast<decltype(split_a(SOURCE()))*>(dest[0]);
auto b = reinterpret_cast<decltype(split_b(SOURCE()))*>(dest[1]);
Expand Down

0 comments on commit d4926ce

Please sign in to comment.