ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/brains/PairList.cpp
(Generate patch)

Comparing branches/development/src/brains/PairList.cpp (file contents):
Revision 1850 by gezelter, Wed Feb 20 15:39:39 2013 UTC vs.
Revision 1874 by gezelter, Wed May 15 15:09:35 2013 UTC

# Line 61 | Line 61 | namespace OpenMD {
61        modified_ = false;
62      }
63      
64 <    return pairList_.size() > 0 ? &(pairList_[0]) : NULL;    
64 >    return pairList_.empty() ? NULL : &(pairList_[0]);
65    }
66    
67    void PairList::addPair(int i, int j) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines