mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-07 02:47:20 +02:00
Code Cleanup
- Removed obsolete 'foreach' macro.
This commit is contained in:
parent
f245fa808c
commit
b84f212112
1 changed files with 0 additions and 9 deletions
|
@ -47,15 +47,6 @@
|
||||||
#define max(a,b) ((a) > (b) ? (a) : (b))
|
#define max(a,b) ((a) > (b) ? (a) : (b))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// TODO Obsolete.
|
|
||||||
#define foreach(i, c) \
|
|
||||||
for (typeof (c) *foreach_p = & (c); \
|
|
||||||
foreach_p; \
|
|
||||||
foreach_p = 0) \
|
|
||||||
for (typeof (foreach_p->begin()) i = foreach_p->begin(); \
|
|
||||||
i != foreach_p->end(); \
|
|
||||||
++i)
|
|
||||||
|
|
||||||
// util.cpp
|
// util.cpp
|
||||||
bool confirm (const std::string&);
|
bool confirm (const std::string&);
|
||||||
int confirm3 (const std::string&);
|
int confirm3 (const std::string&);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue