Commit Graph

22 Commits

Author SHA1 Message Date
Evan Tschannen 2f52c5f79b Merge branch 'release-6.3'
# Conflicts:
#	fdbserver/RestoreLoader.actor.cpp
2020-08-11 22:45:43 -07:00
sfc-gh-tclinkenbeard d6a65d7ef3 Added new Deque::cleanup method for cleaning up newArr 2020-07-14 22:19:37 -07:00
sfc-gh-tclinkenbeard d6b6626a2b Added more exception safety to Deque::grow 2020-07-13 18:29:12 -07:00
Andrew Noyes f470ba8316 Remove using namespace std::rel_ops
This causes the following to not compile anymore

\#include <utility>
\#include <vector>

using namespace std::rel_ops;

int main() {
    std::vector<int> xs;
    return xs.rbegin() != xs.rend();
}

See https://godbolt.org/z/s1977n
2020-07-10 22:58:15 +00:00
sfc-gh-tclinkenbeard da28face2c Avoid throwing while relocating Deque contents 2020-07-10 11:42:56 -07:00
sfc-gh-tclinkenbeard f7835ee2cf Made Deque copy constructor and assignment operator consistent 2020-06-12 15:02:19 -07:00
Trevor Clinkenbeard 9f0487506c
Style change in deque copy
Co-authored-by: Russell Sears <sears@cs.berkeley.edu>
2020-06-12 14:58:34 -07:00
Trevor Clinkenbeard f6051202df
Style change in deque copy
Co-authored-by: Russell Sears <sears@cs.berkeley.edu>
2020-06-12 14:58:21 -07:00
Trevor Clinkenbeard e223726c92
Update comment in Deque.h
Co-authored-by: Russell Sears <sears@cs.berkeley.edu>
2020-06-12 14:57:56 -07:00
sfc-gh-tclinkenbeard 4376f441f7 Added comment for Deque copy ctor 2020-06-11 08:45:44 -07:00
Trevor Clinkenbeard c2587bd87c
Merge branch 'master' into optimize-deque-copy-ctor 2020-06-10 14:38:30 -07:00
sfc-gh-tclinkenbeard 99bf993815 Replace BOOST_NOEXCEPT with noexcept 2020-06-09 22:39:19 -07:00
sfc-gh-tclinkenbeard 39a6c0a2f4 Use std::copy in Deque copy constructor 2020-06-08 22:36:07 -07:00
Meng Xu 856fb7b38f Revert "Merge pull request #3197 from tclinken/optimize-deque-copy-ctor"
This reverts commit e898cb7f38, reversing
changes made to 18c2c3d346.
2020-05-27 09:46:20 -07:00
tclinken 9a64ec9343 Use std::copy in Deque copy ctor 2020-05-18 20:41:41 -07:00
Andrew Noyes ff8758b1fd Request alignment that's at least sizeof(void*)
According to https://en.cppreference.com/w/c/memory/aligned_alloc#Notes,
aligned_alloc may return nullptr if it doesn't like the requested
alignment. Let's also detect if nullptr is returned.
2019-12-02 12:51:33 -08:00
Jingyu Zhou 38c6681349 Fix some signed and unsigned mismatch warnings. 2019-03-26 14:54:11 -07:00
Alex Miller c6a65389ae Remove noexcept macro and replace with BOOST_NOEXCEPT.
BOOST_NOEXCEPT does what the noexcept macro was supposed to do, but in a
way that is correctly maintained over time.
2019-03-05 22:06:12 -08:00
mpilman 79637f07ac Fixed several minor code issues
These will become a problem as soon as we
switch to C++17
2019-01-24 14:43:12 -08:00
Robert Escriva 268093a96d Adjust all includes to be relative to the root.
Remove the use of relative paths.  A header at foo/bar.h could be included by
files under foo/ with "bar.h", but would be included everywhere else as
"foo/bar.h".  Adjust so that every include references such a header with the
latter form.

Signed-off-by: Robert Escriva <rescriva@dropbox.com>
2018-10-19 17:35:33 +00:00
Alec Grieser 0bae9880f1 remove trailing whitespace from our copyright headers ; fixed formatting of python setup.py 2018-02-21 10:25:11 -08:00
FDB Dev Team a674cb4ef4 Initial repository commit 2017-05-25 13:48:44 -07:00