~ubuntu-branches/ubuntu/quantal/poco/quantal

« back to all changes in this revision

Viewing changes to Foundation/include/Poco/ExpirationDecorator.h

  • Committer: Bazaar Package Importer
  • Author(s): Krzysztof Burghardt
  • Date: 2008-11-15 11:39:15 UTC
  • mfrom: (3.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20081115113915-7kauhm2c3m2i7oid
Tags: 1.3.3p1-2
* Fixed FTBFS with GCC 4.4 due to missing #include (Closes: #505619)
* Renamed 20_gcc43-missing-include.dpatch to 20_gcc44-missing-include.dpatch
* Downgraded dependencies on -dbg packages (Closes: #504342)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
//
2
2
// ExpirationDecorator.h
3
3
//
4
 
// $Id: //poco/1.3/Foundation/include/Poco/ExpirationDecorator.h#1 $
 
4
// $Id: //poco/1.3/Foundation/include/Poco/ExpirationDecorator.h#2 $
5
5
//
6
6
// Library: Foundation
7
7
// Package: Events
59
59
        {
60
60
        }
61
61
 
62
 
                ExpirationDecorator(const TArgs& p, const Poco::Timespan::TimeDiff& diffInMs):
 
62
        ExpirationDecorator(const TArgs& p, const Poco::Timespan::TimeDiff& diffInMs):
63
63
                        /// Creates an element that will expire in diff milliseconds
64
64
                _value(p),
65
65
                _expiresAt()
66
66
        {
67
67
                _expiresAt += (diffInMs*1000);
68
68
        }
 
69
 
69
70
        ExpirationDecorator(const TArgs& p, const Poco::Timespan& timeSpan):
70
71
                /// Creates an element that will expire after the given timeSpan
71
72
                _value(p),