Revision 7db6cf9f scout/libscout/src/helper_classes/PQWrapper.cpp

View differences:

scout/libscout/src/helper_classes/PQWrapper.cpp
69 69
/** @Brief: Remove and return an Order from the array if 0 <= index < arrContents. */
70 70
Order PQWrapper::remove(unsigned int index)
71 71
{
72
    if (index >= arrContents) return minElems[-1];//TODO: can I return null?
72
    if (index >= arrContents) return minElems[-1];// @todo: can I return null?
73 73
    Order toDelete = minElems[index];
74 74
    for (unsigned int i = index; i < arrContents - 1; i++) 
75 75
    {
......
92 92
{
93 93
    if (index >= arrContents)
94 94
    {
95
        return minElems[-1];//TODO: can I return null?
95
        return minElems[-1];// @todo: can I return null?
96 96
    } 
97 97
    else 
98 98
    {

Also available in: Unified diff