Use empty() since it should be prefered as it has, following the
standard, a constant time complexity regardless of the containter
type. The same is not guaranteed for size().
This way the code is more logical.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>