fixed SF# 3496493, 3495656

This commit is contained in:
Aleksandar Fabijanic 2012-08-22 02:40:41 +00:00
parent 0dc113b2f3
commit d9cf671330
4 changed files with 9 additions and 9 deletions

View File

@ -121,7 +121,7 @@ public:
static const int MIN_PROGRESS_NOTIFICATION_INTERVAL; static const int MIN_PROGRESS_NOTIFICATION_INTERVAL;
protected: protected:
void postNotification(Notification* pNf); void postNotification(const Notification::Ptr& pNf);
/// Posts a notification to the task manager's /// Posts a notification to the task manager's
/// notification center. /// notification center.

View File

@ -43,7 +43,7 @@
#include <cstdio> #include <cstdio>
#if defined(_MSC_VER) #if defined(_MSC_VER) || defined(__MINGW32__)
#define I64_FMT "I64" #define I64_FMT "I64"
#elif defined(__APPLE__) #elif defined(__APPLE__)
#define I64_FMT "q" #define I64_FMT "q"

View File

@ -47,7 +47,7 @@
#if defined(POCO_LONG_IS_64_BIT) #if defined(POCO_LONG_IS_64_BIT)
#define I64_FMT "l" #define I64_FMT "l"
#elif defined(_MSC_VER) #elif defined(_MSC_VER) || defined(__MINGW32__)
#define I64_FMT "I64" #define I64_FMT "I64"
#elif defined(__APPLE__) #elif defined(__APPLE__)
#define I64_FMT "q" #define I64_FMT "q"

View File

@ -122,7 +122,7 @@ void TaskManager::removeObserver(const AbstractObserver& observer)
} }
void TaskManager::postNotification(Notification* pNf) void TaskManager::postNotification(const Notification::Ptr& pNf)
{ {
_nc.postNotification(pNf); _nc.postNotification(pNf);
} }