Segmentation: Fixed issue with a temporary object passed as non-const reference.
Normalization: Removed all trailing whitespace from sources.

Please configure you editor and/or git appropriately.