base: cleanup Noncopyable declarations/coding style

This commit is contained in:
Christian Helmuth 2020-11-26 07:39:26 +01:00 committed by Norman Feske
parent 36b55e065a
commit 9f3c5d92b3

View File

@ -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_ */