summaryrefslogtreecommitdiff
path: root/src/layout/algorithm/ModeAlgorithm.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/layout/algorithm/ModeAlgorithm.hpp')
-rw-r--r--src/layout/algorithm/ModeAlgorithm.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/layout/algorithm/ModeAlgorithm.hpp b/src/layout/algorithm/ModeAlgorithm.hpp
index 0fedc3da..e53d4391 100644
--- a/src/layout/algorithm/ModeAlgorithm.hpp
+++ b/src/layout/algorithm/ModeAlgorithm.hpp
@@ -39,7 +39,7 @@ namespace Layout {
virtual void moveTargetInDirection(SP<ITarget> t, Math::eDirection dir, bool silent) = 0;
// optional: handle layout messages
- virtual std::expected<void, std::string> layoutMsg(const std::string_view& sv);
+ virtual Config::ErrorResult layoutMsg(const std::string_view& sv);
// optional: predict new window's size
virtual std::optional<Vector2D> predictSizeForNewTarget();
@@ -54,4 +54,4 @@ namespace Layout {
friend class Layout::CAlgorithm;
};
-} \ No newline at end of file
+}