Skip to content
Snippets Groups Projects
Verified Commit 5139cd71 authored by Ansgar Burchardt's avatar Ansgar Burchardt
Browse files

use `... = delete;` instead of just private functions

parent 4154081a
No related branches found
No related tags found
1 merge request!701use `... = delete;` instead of just private functions
......@@ -198,7 +198,7 @@ namespace Dune {
This is only a Proxy class, you can't get the address of the
object it references
*/
void operator & ();
void operator & () = delete;
friend class BitSetVectorReference<block_size, Alloc>;
};
......
......@@ -402,8 +402,7 @@ namespace Dune {
private:
/** copying is forbidden. */
RemoteIndices(const RemoteIndices&)
{}
RemoteIndices(const RemoteIndices&) = delete;
/** @brief Index set used at the source of the communication. */
const ParallelIndexSet* source_;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment