Skip to content

Commit

Permalink
Merge pull request #166 from studgeek/me/dep-copy
Browse files Browse the repository at this point in the history
Explicitly define default ContiguousBuffer assign op
  • Loading branch information
jasongraffius authored Aug 9, 2024
2 parents ed484d7 + 2047b5a commit 8c45c34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime/cpp/emboss_memory_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -411,9 +411,9 @@ class ContiguousBuffer final {
// TODO(bolms): Update callers and remove this constructor.
explicit ContiguousBuffer(::std::nullptr_t) : bytes_{nullptr}, size_{0} {}

// Implicitly constructs a ContiguousBuffer from an identical
// ContiguousBuffer.
// Implicitly construct or assign a ContiguousBuffer from a ContiguousBuffer.
ContiguousBuffer(const ContiguousBuffer &other) = default;
ContiguousBuffer& operator=(const ContiguousBuffer& other) = default;

// Explicitly construct a ContiguousBuffers from another, compatible
// ContiguousBuffer. A compatible ContiguousBuffer has an
Expand Down

0 comments on commit 8c45c34

Please sign in to comment.