mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-25 13:29:56 +00:00
base: cleanup Noncopyable declarations/coding style
This commit is contained in:
parent
36b55e065a
commit
9f3c5d92b3
@ -31,9 +31,9 @@ class Genode::Noncopyable
|
|||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
*/
|
*/
|
||||||
Noncopyable(const Noncopyable&);
|
Noncopyable(Noncopyable const &) = delete;
|
||||||
|
|
||||||
const Noncopyable& operator=(const Noncopyable&);
|
Noncopyable & operator = (Noncopyable const &) = delete;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
@ -42,14 +42,14 @@ class Genode::Noncopyable
|
|||||||
*
|
*
|
||||||
* \noapi
|
* \noapi
|
||||||
*/
|
*/
|
||||||
Noncopyable() {}
|
Noncopyable() { }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Destructor
|
* Destructor
|
||||||
*
|
*
|
||||||
* \noapi
|
* \noapi
|
||||||
*/
|
*/
|
||||||
~Noncopyable() {}
|
~Noncopyable() { }
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* _INCLUDE__UTIL__NONCOPYABLE_H_ */
|
#endif /* _INCLUDE__UTIL__NONCOPYABLE_H_ */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user