Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 21, 2010, 2:35:23 PM (14 years ago)
Author:
rgrieder
Message:

Using our own conversion functions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation3/src/modules/questsystem/notifications/NotificationQueue.cc

    r7127 r7157  
    3434#include "NotificationQueue.h"
    3535
    36 #include <sstream>
    37 
     36#include "util/Convert.h"
    3837#include "core/CoreIncludes.h"
    3938#include "core/XMLPort.h"
     
    403402        std::string timeString = std::ctime(&time);
    404403        timeString.erase(timeString.length()-1);
    405         std::ostringstream stream;
    406         stream << reinterpret_cast<unsigned long>(notification);
    407         const std::string& addressString = stream.str();
     404        const std::string& addressString = multi_cast<std::string>(reinterpret_cast<unsigned long>(notification));
    408405        container->name = "NotificationOverlay(" + timeString + ")&" + addressString;
    409406
Note: See TracChangeset for help on using the changeset viewer.