Code cleanups
Code cleanups

* No need for string memory on the heap, use a std::array on the stack
instead
* No need for manual strdup, just use std::string and copy from the
correctly bounded substring.
* No need for std::tuple. A normal struct suffices.

Signed-off-by: Matthias Kretz <372ea4eca737a13cd010ee806d4ce7b98ee71550@kde.org>

mattkretz/virtest,mattkretz/virtest