diff options
| author | mzuenni <michi.zuendorf@gmail.com> | 2024-08-13 01:51:19 +0200 |
|---|---|---|
| committer | mzuenni <michi.zuendorf@gmail.com> | 2024-08-13 01:51:32 +0200 |
| commit | f33aca8fca567c9f318bdd120f20765414ecdf0d (patch) | |
| tree | 2ff7a9961644f01849c0ac94f5c04aac181623dd /content/datastructures | |
| parent | af07c941cb58bb73cffc12161e9f263819575e82 (diff) | |
change style
Diffstat (limited to 'content/datastructures')
| -rw-r--r-- | content/datastructures/persistent.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/datastructures/persistent.cpp b/content/datastructures/persistent.cpp index 7d15342..f26680d 100644 --- a/content/datastructures/persistent.cpp +++ b/content/datastructures/persistent.cpp @@ -7,7 +7,7 @@ struct persistent { : time(time), data(1, {2*time, value}) {}
T get(int t) {
- return prev(upper_bound(all(data), pair{2*t+1, T{}}))->second;
+ return prev(upper_bound(all(data),pair{2*t+1, T{}}))->second;
}
int set(T value) {
|
