Skip to content
  1. Oct 03, 2018
  2. Oct 01, 2018
  3. Sep 30, 2018
  4. Sep 29, 2018
  5. Sep 28, 2018
    • Lioncash's avatar
      kernel/object: Remove unnecessary std::move from DynamicObjectCast() · f4c24d08
      Lioncash authored
      boost::static_pointer_cast for boost::intrusive_ptr (what SharedPtr is),
      takes its parameter by const reference. Given that, it means that this
      std::move doesn't actually do anything other than obscure what the
      function's actual behavior is, so we can remove this. To clarify, this
      would only do something if the parameter was either taking its argument
      by value, by non-const ref, or by rvalue-reference.
      f4c24d08
Loading