Please, fix the following C++ warnings generated by cppcheck:
[MarbleCommon/MGS/mgsmethods.h:42]: (performance) Function parameter 'fileName' should be passed by reference.
[MarbleCommon/MGS/mgsmethods.h:43]: (performance) Function parameter 'fileName' should be passed by reference.
[MarbleCommon/MGS/mgs.cpp:21]: (performance) Function parameter 'fileName' should be passed by reference.
[MarbleCommon/MGS/mgsmethods.cpp:94]: (performance) Function parameter 'fileName' should be passed by reference.
[MarbleCommon/MGS/mgsmethods.cpp:110]: (performance) Function parameter 'fileName' should be passed by reference.
Additionally, the following warning exists for Sandbox:
[SandboxAnna/SandboxAnna/main.cpp:49] -> [SandboxAnna/SandboxAnna/main.cpp:51]: (error) Iterator 'it' used after element has been erased.
Please, fix the following C++ warnings generated by
cppcheck
:Additionally, the following warning exists for Sandbox: