mirror of
https://github.com/pybind/pybind11.git
synced 2026-05-11 08:50:31 +00:00
CI fixes (#1744)
* Fix warning that not including a cmake source or build dir will be a fatal error (it is now on newest CMakes)
* Fixes appveyor
* Travis uses CMake 3.9 for more than a year now
* Travis dropped sudo: false in December
* Dropping Sphinx 2
- clang7: Suppress self-assign warnings; fix missing virtual dtors
- pypy:
- Keep old version (newer stuff breaks)
- Pin packages to extra index for speed
- travis:
- Make docker explicit; remove docker if not needed
- Make commands more verbose (for debugging / repro)
- Make Ubuntu dist explicit per job
- Fix Windows
- Add names to travis
This commit is contained in:
committed by
Wenzel Jakob
parent
25abf7efba
commit
ae951ca085
@@ -1509,7 +1509,7 @@ private:
|
||||
if (trivial == broadcast_trivial::f_trivial) result = array_t<Return, array::f_style>(shape);
|
||||
else result = array_t<Return>(shape);
|
||||
|
||||
if (size == 0) return result;
|
||||
if (size == 0) return std::move(result);
|
||||
|
||||
/* Call the function */
|
||||
if (trivial == broadcast_trivial::non_trivial)
|
||||
@@ -1517,7 +1517,7 @@ private:
|
||||
else
|
||||
apply_trivial(buffers, params, result.mutable_data(), size, i_seq, vi_seq, bi_seq);
|
||||
|
||||
return result;
|
||||
return std::move(result);
|
||||
}
|
||||
|
||||
template <size_t... Index, size_t... VIndex, size_t... BIndex>
|
||||
|
||||
Reference in New Issue
Block a user