G++ 4.8.2 complains about use of deleted function.

Signed-off-by: FrankHB <frankhb1989@gmail.com>
Fixed wrong use of deleted function.

Signed-off-by: FrankHB <frankhb1989@gmail.com>