Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 3bb80ae4 authored by Johny Lin's avatar Johny Lin
Browse files

codec2: fix multiple definition error on linker

The following linker error occurs when you have more than one cpp file which
includes this header in your library.

"multiple definition of 'int const& android::C2Value::Primitive::ref<int>()
const'"
... and more

Use inline to avoid multiple definition.

Test: codec2 test
Change-Id: I3b9e026d70217fe82fd8eefee0bfd14406824219
parent 7a9680dd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment