[
https://issues.apache.org/jira/browse/QPID-4466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Darryl L. Pierce resolved QPID-4466.
------------------------------------
Resolution: Fixed
Fix Version/s: 0.21
Added an additional change to the Ruby APIs to also include this functionality.
> Cannot multiply durations in perl bindings
> ------------------------------------------
>
> Key: QPID-4466
> URL: https://issues.apache.org/jira/browse/QPID-4466
> Project: Qpid
> Issue Type: Bug
> Affects Versions: 0.18
> Environment: RHEL6
> Reporter: Jimmy Jones
> Assignee: Darryl L. Pierce
> Fix For: 0.21
>
> Attachments: perl-duration-multiply.patch
>
>
> eg.
> {{my $message = $receiver->fetch($cqpid_perl::Duration::SECOND*2);}}
> results in the error
> {{No matching function for overloaded 'Receiver_fetch' at ./hello_world3.pl
> line 45.}}
> This might be because the operator* is not a member function, so SWIG has not
> wrapped it correctly.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]