Changeset 1130 for cpp/frams/util
- Timestamp:
- 04/16/21 15:55:34 (4 years ago)
- Location:
- cpp/frams/util
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/util/extvalue.h
r851 r1130 1 1 // This file is a part of Framsticks SDK. http://www.framsticks.com/ 2 // Copyright (C) 1999-20 15Maciej Komosinski and Szymon Ulatowski.2 // Copyright (C) 1999-2021 Maciej Komosinski and Szymon Ulatowski. 3 3 // See LICENSE.txt for details. 4 4 … … 8 8 #include "sstring.h" 9 9 #include <frams/param/param.h> 10 #include <common/nonstd_stl.h>11 10 #include <common/threads.h> 11 #include <vector> 12 12 13 13 #define EXTVALUEUNION -
cpp/frams/util/multirange.cpp
r733 r1130 1 1 // This file is a part of Framsticks SDK. http://www.framsticks.com/ 2 // Copyright (C) 1999-20 15Maciej Komosinski and Szymon Ulatowski.2 // Copyright (C) 1999-2021 Maciej Komosinski and Szymon Ulatowski. 3 3 // See LICENSE.txt for details. 4 4 5 5 #include "multirange.h" 6 #include < common/nonstd_stl.h>6 #include <algorithm> 7 7 8 8 #include <stdio.h> … … 230 230 break; 231 231 case SAME + JOINBEGIN: // extend 1 range 232 setEnd(r1, max(getEnd(r2), end));232 setEnd(r1, std::max(getEnd(r2), end)); 233 233 break; 234 234 case SAME + JOINEND: // extend 1 range … … 244 244 break; 245 245 case JOINBEGIN: // extend r1 246 setEnd(r1, max(end, getEnd(r2)));246 setEnd(r1, std::max(end, getEnd(r2))); 247 247 removeRanges(r1 + 1, r2); 248 248 break; … … 253 253 case 0: // extend r2 254 254 setBegin(r2, begin); 255 setEnd(r2, max(end, getEnd(r2)));255 setEnd(r2, std::max(end, getEnd(r2))); 256 256 removeRanges(r1 + 1, r2 - 1); 257 257 break; -
cpp/frams/util/sstring-simple.cpp
r1040 r1130 1 1 #include "sstring.h" 2 #include <common/nonstd_stl.h>3 2 #include "extvalue.h" 4 3 #include <assert.h> -
cpp/frams/util/sstring.cpp
r1040 r1130 20 20 // - mutex required to be thread safe 21 21 22 #include <common/nonstd_stl.h>23 22 #include "extvalue.h" 24 23 #include <assert.h>
Note: See TracChangeset
for help on using the changeset viewer.