summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI
diff options
context:
space:
mode:
authorasynts <asynts@gmail.com>2020-09-23 13:21:18 +0200
committerAndreas Kling <kling@serenityos.org>2020-09-23 21:45:28 +0200
commitb7a4c4482fdb839ba767d5125aed6e35e34276d1 (patch)
tree3e866a059ea156864c636e6a118e0bfa26e16285 /Libraries/LibGUI
parent3224fb7d55e0c9d2c658b36e7571bd0d5a4cefc2 (diff)
downloadserenity-b7a4c4482fdb839ba767d5125aed6e35e34276d1.zip
AK: Resolve format related circular dependencies properly.
With this commit, <AK/Format.h> has a more supportive role and isn't used directly. Essentially, there now is a public 'vformat' function ('v' for vector) which takes already type erased parameters. The name is choosen to indicate that this function behaves similar to C-style functions taking a va_list equivalent. The interface for frontend users are now 'String::formatted' and 'StringBuilder::appendff'.
Diffstat (limited to 'Libraries/LibGUI')
-rw-r--r--Libraries/LibGUI/Clipboard.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Libraries/LibGUI/Clipboard.h b/Libraries/LibGUI/Clipboard.h
index e5830268ea..a01f96e509 100644
--- a/Libraries/LibGUI/Clipboard.h
+++ b/Libraries/LibGUI/Clipboard.h
@@ -26,6 +26,7 @@
#pragma once
+#include <AK/ByteBuffer.h>
#include <AK/Function.h>
#include <AK/HashMap.h>
#include <AK/String.h>