Mercurial > hg > svcore
diff base/Exceptions.h @ 935:f960d67ce842 tonioni
Merge from branch warnfix_no_size_t
author | Chris Cannam |
---|---|
date | Wed, 18 Jun 2014 13:42:01 +0100 |
parents | 6a94bb528e9d |
children | cc27f35aa75c |
line wrap: on
line diff
--- a/base/Exceptions.h Mon Jun 16 11:28:45 2014 +0100 +++ b/base/Exceptions.h Wed Jun 18 13:42:01 2014 +0100 @@ -82,19 +82,19 @@ { public: InsufficientDiscSpace(QString directory, - size_t required, size_t available) throw(); + int required, int available) throw(); InsufficientDiscSpace(QString directory) throw(); virtual ~InsufficientDiscSpace() throw() { } virtual const char *what() const throw(); QString getDirectory() const { return m_directory; } - size_t getRequired() const { return m_required; } - size_t getAvailable() const { return m_available; } + int getRequired() const { return m_required; } + int getAvailable() const { return m_available; } protected: QString m_directory; - size_t m_required; - size_t m_available; + int m_required; + int m_available; }; class AllocationFailed : virtual public std::exception