no need for templated function to be static

This commit is contained in:
Daniel Micay 2012-10-14 15:08:06 -04:00
parent 3909b180f7
commit 8486a64986
2 changed files with 2 additions and 2 deletions

View File

@ -808,7 +808,7 @@ char *check_match(VteTerminal *vte, int event_x, int event_y) {
/* {{{ CONFIG LOADING */
template<typename T>
static maybe<T> get_config(T (*get)(GKeyFile *, const char *, const char *, GError **),
maybe<T> get_config(T (*get)(GKeyFile *, const char *, const char *, GError **),
GKeyFile *config, const char *group, const char *key) {
GError *error = nullptr;
maybe<T> value = get(config, group, key, &error);

2
util

@ -1 +1 @@
Subproject commit 54d02da2923355150da70b90e7e85faaa353c59a
Subproject commit d7ca0bd7dbe371e86fcd53bbce157d9454ce1574