summaryrefslogtreecommitdiff
path: root/glib/src/thread.hg
diff options
context:
space:
mode:
Diffstat (limited to 'glib/src/thread.hg')
-rw-r--r--glib/src/thread.hg4
1 files changed, 2 insertions, 2 deletions
diff --git a/glib/src/thread.hg b/glib/src/thread.hg
index 24df5de3..57b940f2 100644
--- a/glib/src/thread.hg
+++ b/glib/src/thread.hg
@@ -719,7 +719,7 @@ private:
template <class T>
struct StaticPrivate
{
- typedef void (*DestroyNotifyFunc) (void*);
+ using DestroyNotifyFunc = void (*) (void*);
static void delete_ptr(void* data);
@@ -746,7 +746,7 @@ public:
Private(const Private<T>&) = delete;
Private<T>& operator=(const Private<T>&) = delete;
- typedef void (*DestructorFunc) (void*);
+ using DestructorFunc = void (*) (void*);
static void delete_ptr(void* data);