File indexing completed on 2024-04-28 17:01:40
0001 /* 0002 SPDX-FileCopyrightText: 2004 Otto Bruggeman <bruggie@gmail.com> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #include "diffmodellist.h" 0008 0009 using namespace Diff2; 0010 0011 static bool diffModelCompare(DiffModel* model1, DiffModel* model2) 0012 { 0013 return *model1 < *model2; 0014 } 0015 0016 void DiffModelList::sort() 0017 { 0018 std::sort(begin(), end(), diffModelCompare); 0019 }