Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7410


Ignore:
Timestamp:
Sep 11, 2010, 3:17:39 PM (14 years ago)
Author:
dafrick
Message:

Removing some warnings (both compiler and doxygen).

Location:
code/trunk/src/modules
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/modules/notifications/Notification.cc

    r7403 r7410  
    104104    @brief
    105105        Sends the Notification to the Notificationmanager, which then in turn distributes it to the different NotificationQueues.
     106    @param clientID
     107        The id of the client that this Notification is sent to.
    106108    @param sender
    107109        The sender the Notification was sent by. Used by the NotificationManager to distributes the notification to the correct NotificationQueues.
  • code/trunk/src/modules/notifications/NotificationQueue.cc

    r7408 r7410  
    151151            std::multiset<NotificationContainer*, NotificationContainerCompare>::iterator it = this->ordering_.begin();
    152152            // Iterate through all elements whose creation time is smaller than the current time minus the display time.
    153             while(it != this->ordering_.upper_bound(&this->timeLimit_) && it != this->ordering_.end())
     153            while(it != this->ordering_.upper_bound(&this->timeLimit_))
    154154            {
    155155                NotificationContainer* temp = *it;
  • code/trunk/src/modules/notifications/NotificationQueue.h

    r7403 r7410  
    109109            @return Returns the display time.
    110110            */
    111             inline float getDisplayTime() const
     111            inline unsigned int getDisplayTime() const
    112112                { return this->displayTime_; }
    113113            // tolua_end
  • code/trunk/src/modules/objects/Script.cc

    r7408 r7410  
    179179            case ScriptMode::lua:
    180180                return Script::LUA;
     181            default: // This will never happen...
     182                return Script::NORMAL;
    181183        }
    182184    }
Note: See TracChangeset for help on using the changeset viewer.