ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/DecentralizedMedia/MediaFile.cpp
Revision: 476
Committed: 2005-06-08T13:41:10-07:00 (20 years ago) by douglas
File size: 388 byte(s)
Log Message:
Moving right along.

File Contents

# User Rev Content
1 douglas 475 // Media File
2     //
3     // Douglas Thrift
4     //
5     // $Id$
6    
7     #include "MediaFile.hpp"
8 douglas 476
9     bool MediaFile::operator<(const MediaFile& file) const
10     {
11     return ext::Compare(name.GetData().Begin(), file.name.GetData().Begin(), name.GetData().GetSize() < file.name.GetData().GetSize() ? name.GetData().GetSize() : file.name.GetData().GetSize()) < 0 || name.GetData().GetSize() < file.name.GetData().GetSize();
12     }

Properties

Name Value
svn:eol-style native
svn:keywords Id