)]}'
{
  "commit": "a09520cdd91a87ada081b065c42256bec2be6946",
  "tree": "71b8f6a0c51a358bca5adf1bd04c3c16228371bd",
  "parents": [
    "8dddb06c598dd4cbdbd60653c54881912fd839b5"
  ],
  "author": {
    "name": "Simon Marchi",
    "email": "simon.marchi@efficios.com",
    "time": "Tue Apr 12 12:30:08 2022 -0400"
  },
  "committer": {
    "name": "Simon Marchi",
    "email": "simon.marchi@efficios.com",
    "time": "Tue Apr 12 14:09:49 2022 -0400"
  },
  "message": "gdbsupport: use result_of_t instead of result_of in parallel-for.h\n\nWhen building with -std\u003dc++11, I get:\n\nIn file included from /home/smarchi/src/binutils-gdb/gdb/unittests/parallel-for-selftests.c:22:                                                                             /home/smarchi/src/binutils-gdb/gdb/../gdbsupport/parallel-for.h:134:10: error: â€˜result_of_tâ€™ is not a member of â€˜stdâ€™; did you mean â€˜result_ofâ€™?\n  134 |     std::result_of_t\u003cRangeFunction (RandomIt, RandomIt)\u003e\n      |          ^~~~~~~~~~~\n      |          result_of\n\nThis is because result_of_t has been introduced in C++14.  Use the\nequivalent result_of\u003c...\u003e::type instead.\n\nresult_of and result_of_t have been removed in C++20 though, so I think\nwe\u0027ll need some patches eventually to make the code use invoke_result\ninstead, depending on the C++ version.\n\nChange-Id: I4817f361c0ebcdd4b32976898fc368bb302b61b9\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "44303abb71602a1b18b34a165836a44b7e830e99",
      "old_mode": 33188,
      "old_path": "gdbsupport/parallel-for.h",
      "new_id": "713ec660306e8fb2dbd8d95b2db1c88d0cb9a78d",
      "new_mode": 33188,
      "new_path": "gdbsupport/parallel-for.h"
    }
  ]
}
