Skip to content
Snippets Groups Projects
Commit 73b445dd authored by Joe Sylve's avatar Joe Sylve
Browse files

Fixed compile issue that was caused by a bug in older versions of clang

parent cd53e0c3
No related branches found
No related tags found
No related merge requests found
......@@ -133,7 +133,7 @@ class APFSJObjTree {
APFSJObjTree(const APFSJObjTree &) = default;
APFSJObjTree &operator=(const APFSJObjTree &) = default;
APFSJObjTree(APFSJObjTree &&) noexcept = default;
APFSJObjTree(APFSJObjTree &&) = default;
APFSJObjTree &operator=(APFSJObjTree &&) = default;
inline APFSJObject obj(uint64_t oid) const { return {jobjs(oid)}; }
......@@ -164,13 +164,13 @@ class APFSJObjTree::iterator {
iterator(const APFSJObjTree *tree, uint64_t oid);
public:
iterator() noexcept = default;
iterator() = default;
iterator(const iterator &) = default;
iterator &operator=(const iterator &) = default;
iterator(iterator &&) noexcept = default;
iterator &operator=(iterator &&) noexcept = default;
iterator(iterator &&) = default;
iterator &operator=(iterator &&) = default;
inline reference operator*() const noexcept { return _jobj; }
......
......@@ -175,7 +175,7 @@ class APFSBtreeNodeIterator {
public:
// Forward iterators must be DefaultConstructible
APFSBtreeNodeIterator() noexcept = default;
APFSBtreeNodeIterator() = default;
APFSBtreeNodeIterator(const Node *node, uint32_t index);
......
......@@ -24,8 +24,8 @@ class TSKPool {
TSKPool &operator=(const TSKPool &) = delete;
// Moveable
TSKPool(TSKPool &&) noexcept = default;
TSKPool &operator=(TSKPool &&) noexcept = default;
TSKPool(TSKPool &&) = default;
TSKPool &operator=(TSKPool &&) = default;
virtual ~TSKPool() = default;
......
......@@ -17,7 +17,7 @@ template <typename T>
class lw_shared_ptr {
public:
/// Constructs a shared_ptr with no managed object, i.e. empty shared_ptr
lw_shared_ptr() noexcept = default;
lw_shared_ptr() = default;
/// Constructs a shared_ptr with no managed object, i.e. empty shared_ptr
lw_shared_ptr(std::nullptr_t) noexcept : lw_shared_ptr() {}
......
......@@ -22,7 +22,7 @@ class span {
index_type _count{};
public:
span() noexcept = default;
span() = default;
span(std::nullptr_t) noexcept : span() {}
span(pointer p, index_type n) noexcept : _storage{p}, _count{n} {}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment