Skip to content

Commit

Permalink
remove move
Browse files Browse the repository at this point in the history
  • Loading branch information
egecetin committed Dec 28, 2024
1 parent 4131709 commit 3fbc078
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions include/utils/FileHelpers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,15 @@ class FileMonitor {
/// @brief Copy constructor
FileMonitor(const FileMonitor & /*unused*/) = delete;

/// @brief Move constructor
FileMonitor(FileMonitor && /*unused*/) = delete;

/// @brief Copy assignment operator
FileMonitor &operator=(FileMonitor /*unused*/) = delete;

/// @brief Move assignment operator
FileMonitor &operator=(FileMonitor && /*unused*/) = delete;

[[nodiscard]] FNotifyCallback notifyCallback() const { return _notifyCallback; }
void notifyCallback(FNotifyCallback func) { _notifyCallback = std::move(func); }

Expand Down

0 comments on commit 3fbc078

Please sign in to comment.