Describe the bug
When having a const return value on a mocked method/function, the mock doesn't work
To Reproduce
Create a header containing a function returning a const value and try to generate its FSeam mock
Expected behavior
Being able to return const values
Additional context
The error occurs because the constness is not removed in the FSeamMockData that contains the mocked return values (should contains a non-const value that will earn its constness only when returned by the function).
Describe the bug When having a const return value on a mocked method/function, the mock doesn't work
To Reproduce Create a header containing a function returning a const value and try to generate its FSeam mock
Expected behavior Being able to return const values
Additional context The error occurs because the constness is not removed in the FSeamMockData that contains the mocked return values (should contains a non-const value that will earn its constness only when returned by the function).