util, io, net, ...: use "#pragma once"
This commit is contained in:
committed by
Max Kellermann
parent
313f2a1894
commit
be84b189dc
@@ -2,8 +2,7 @@
|
||||
// Copyright CM4all GmbH
|
||||
// author: Max Kellermann <mk@cm4all.com>
|
||||
|
||||
#ifndef SHALLOW_COPY_HXX
|
||||
#define SHALLOW_COPY_HXX
|
||||
#pragma once
|
||||
|
||||
/**
|
||||
* A tag for overloading copying constructors, telling them to make
|
||||
@@ -11,5 +10,3 @@
|
||||
* duplicating the referenced objects).
|
||||
*/
|
||||
struct ShallowCopy {};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user