Skip to content

Commit 516f13b

Browse files
committed
rename
1 parent dac7335 commit 516f13b

File tree

2 files changed

+3
-118
lines changed

2 files changed

+3
-118
lines changed

355.design_tweeter.cpp

-116
This file was deleted.

355.design_twitter.cpp

+3-2
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@ Program: Design tweeter
44
Description:
55
66
Date: 2016-08-17 09:00:37
7-
Last modified: 2016-08-18 21:26:14
7+
Last modified: 2016-08-29 16:56:50
88
GCC version: 4.9.3
99
*****************************************/
1010

1111
#include <vector>
12+
#include <algorithm>
1213
#include <unordered_set>
1314
#include <unordered_map>
1415
using namespace std;
@@ -37,7 +38,7 @@ namespace std {
3738
};
3839
}
3940

40-
bool static compare(TWEET& t1, TWEET& t2) {
41+
bool static compare(const TWEET& t1, const TWEET& t2) {
4142
return t1.timeline > t2.timeline;
4243
}
4344

0 commit comments

Comments
 (0)