diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-02-16 00:24:27 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-02-16 00:24:27 -0800 |
commit | a08450bcb6050cc630d87ae6d7d5f203f8eeca62 (patch) | |
tree | 1e49e402f2c5e50aadc8e4d2367f1d1abad0626d /util.h | |
parent | a92d9d442b5b4f8b3de0c2eef3a9d7a498a36aa8 (diff) |
Changes to make autosuggestion smarter about not suggesting commands that could never succeed.
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -449,19 +449,6 @@ void al_foreach( array_list_t *l, void (*func)( void * )); */ void al_foreach2( array_list_t *l, void (*func)( void *, void *), void *aux); -template<typename T> -T al_list_to(array_list_t *list) -{ - T result; - int i, c = al_get_count(list); - for (i=0; i < c; i++) { - void *val = al_get(list, i); - result.push_back(val); - } - return result; -} - - /** Compares two wide character strings with an (arguably) intuitive ordering. |