- Timestamp:
- 05/14/18 17:56:24 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/util/list.h
r733 r781 1 1 // This file is a part of Framsticks SDK. http://www.framsticks.com/ 2 // Copyright (C) 1999-201 5Maciej Komosinski and Szymon Ulatowski.2 // Copyright (C) 1999-2018 Maciej Komosinski and Szymon Ulatowski. 3 3 // See LICENSE.txt for details. 4 4 … … 105 105 int find(const T& e) const ///< return position of element, or -1 if not found 106 106 { 107 for (int i = 0; i<size(); i++) if (mem[i] == e) return i; return -1; 107 for (int i = 0; i<size(); i++) if (mem[i] == e) return i; 108 return -1; 108 109 } 109 110 void append(const T& data) ///< add 1 element
Note: See TracChangeset
for help on using the changeset viewer.