From ee862652ccce563963bb820665847fe0076dd458 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 25 Nov 2018 11:59:01 +0100 Subject: Result: Remove superfluous bless() call --- lib/Travel/Status/DE/IRIS/Result.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Travel/Status/DE') diff --git a/lib/Travel/Status/DE/IRIS/Result.pm b/lib/Travel/Status/DE/IRIS/Result.pm index 8cc2b0f..2d859d4 100644 --- a/lib/Travel/Status/DE/IRIS/Result.pm +++ b/lib/Travel/Status/DE/IRIS/Result.pm @@ -220,7 +220,7 @@ sub new { || $ref->{route_pre}[0] || $ref->{station}; - return bless( $ref, $obj ); + return $ref; } sub parse_ts { -- cgit v1.2.3