Revision 22:6afcb5edd7ab Agent.h

View differences:

Agent.h
182 182
     */
183 183
    void fillBeats(double start);
184 184

  
185
    // for sorting AgentList
186
    bool operator<(const Agent &a) const {
187
        return beatInterval < a.beatInterval;
188
    }
189

  
190 185
}; // class Agent
191 186

  
192 187
#endif

Also available in: Unified diff