Skip to content

Commit 3a2f6b1

Browse files
chore: Remove console_backend as an example in doxygen. (#142)
Co-authored-by: Casey Waldren <[email protected]>
1 parent cbb99d9 commit 3a2f6b1

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

libs/common/include/launchdarkly/logging/log_backend.hpp

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace launchdarkly {
1010
/**
1111
* Interface for logging back-ends.
1212
*
13-
* @example ../src/ConsoleBackend.hpp
13+
* For a reference implementation refer to console_backend.hpp/cpp.
1414
*/
1515
class ILogBackend {
1616
public:
@@ -28,6 +28,13 @@ class ILogBackend {
2828
*/
2929
virtual void Write(LogLevel level, std::string message) noexcept = 0;
3030

31-
virtual ~ILogBackend(){};
31+
virtual ~ILogBackend() = default;
32+
ILogBackend(ILogBackend const& item) = delete;
33+
ILogBackend(ILogBackend&& item) = delete;
34+
ILogBackend& operator=(ILogBackend const&) = delete;
35+
ILogBackend& operator=(ILogBackend&&) = delete;
36+
37+
protected:
38+
ILogBackend() = default;
3239
};
3340
} // namespace launchdarkly

0 commit comments

Comments
 (0)