no need for templated function to be static
This commit is contained in:
parent
3909b180f7
commit
8486a64986
|
@ -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
2
util
|
@ -1 +1 @@
|
|||
Subproject commit 54d02da2923355150da70b90e7e85faaa353c59a
|
||||
Subproject commit d7ca0bd7dbe371e86fcd53bbce157d9454ce1574
|
Loading…
Reference in New Issue