1. 13 Jun, 2021 1 commit
    • Leinweber, Hermann's avatar
      Solved problem 🎉 · 49b5d9be
      Leinweber, Hermann authored
      By using pass by reference in the constructor the function reference is
      not valid after the constructor scope is closed.
      If we wait for the task to finish we are just lucky that it works
      because nothing else uses the memory.
      If we run the second method it overrides the memory and the dark magic
      Us pass by value to really copy the std::function object to the thread
      body to run probably
  2. 11 Jun, 2021 4 commits