Module: tools Branch: master Commit: 9fee4992ceafb7c547b9bd7d7bc3c30d2e9ff4e6 URL: http://source.winehq.org/git/tools.git/?a=commit;h=9fee4992ceafb7c547b9bd7d7...
Author: Francois Gouget fgouget@codeweavers.com Date: Thu May 1 14:36:25 2014 +0200
testbot/lib: Fix the call to ValuesDiffer() in Item::AUTOLOAD.
ValuesDiffer() is a method, not a function!
---
testbot/lib/ObjectModel/Item.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/testbot/lib/ObjectModel/Item.pm b/testbot/lib/ObjectModel/Item.pm index 48864f4..f988a46 100644 --- a/testbot/lib/ObjectModel/Item.pm +++ b/testbot/lib/ObjectModel/Item.pm @@ -1,5 +1,5 @@ # Copyright 2009 Ge van Geldorp -# Copyright 2012 Francois Gouget +# Copyright 2012, 2014 Francois Gouget # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -218,8 +218,8 @@ sub AUTOLOAD if (@_) { $self->{Itemrefs}{$PropertyName} = shift; - if (ValuesDiffer($self->{ColValues}{@{$ColNames}[0]}, - $self->{Itemrefs}{$PropertyName}->GetKey())) + if ($self->ValuesDiffer($self->{ColValues}{@{$ColNames}[0]}, + $self->{Itemrefs}{$PropertyName}->GetKey())) { $self->{IsModified} = 1; $self->{ColValues}{@{$ColNames}[0]} = $self->{Itemrefs}{$PropertyName}->GetKey();