- Timestamp:
- Jun 11, 2008, 12:58:26 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/SVNlog.cc
r642 r659 66 66 const Commitment& SVNlog::latest_commit(void) const 67 67 { 68 assert(commits().size()); 68 69 return commits().back(); 69 70 } … … 76 77 if (iter->author() == name) 77 78 return *iter; 78 assert(false); 79 std::stringstream ss; 80 ss << __FILE__ << " could not find author: " << name; 81 throw std::runtime(ss.str()); 82 // let us return something to avoid compiler warnings 83 return *commits().begin(); 79 84 } 80 85
Note: See TracChangeset
for help on using the changeset viewer.