aboutsummaryrefslogtreecommitdiffhomepage
path: root/util.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-02-16 00:24:27 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-02-16 00:24:27 -0800
commita08450bcb6050cc630d87ae6d7d5f203f8eeca62 (patch)
tree1e49e402f2c5e50aadc8e4d2367f1d1abad0626d /util.h
parenta92d9d442b5b4f8b3de0c2eef3a9d7a498a36aa8 (diff)
Changes to make autosuggestion smarter about not suggesting commands that could never succeed.
Diffstat (limited to 'util.h')
-rw-r--r--util.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/util.h b/util.h
index ae3771dd..65210777 100644
--- a/util.h
+++ b/util.h
@@ -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.