]> git.pld-linux.org Git - packages/gjs.git/blob - gjs-noc++17.patch
- updated to 1.56.2
[packages/gjs.git] / gjs-noc++17.patch
1 Fixes build in C++14 mode (insert(pair&&) is C++17)
2 --- gjs-1.56.2/gi/gtype.cpp.orig        2019-05-08 01:34:52.000000000 +0200
3 +++ gjs-1.56.2/gi/gtype.cpp     2019-05-24 15:52:21.984123467 +0200
4 @@ -172,7 +172,7 @@
5      /* Saving a reference to the wrapper pointer, as heap_wrapper will be
6       * nullified by std::move */
7      JSObject *gtype_wrapper = *heap_wrapper;
8 -    weak_pointer_list.insert({gtype, std::move(heap_wrapper)});
9 +    weak_pointer_list.emplace(gtype, std::move(heap_wrapper));
10  
11      return gtype_wrapper;
12  }
This page took 0.038236 seconds and 3 git commands to generate.