diff options
Diffstat (limited to 'Libraries/LibWeb/Loader/ResourceLoader.cpp')
-rw-r--r-- | Libraries/LibWeb/Loader/ResourceLoader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibWeb/Loader/ResourceLoader.cpp b/Libraries/LibWeb/Loader/ResourceLoader.cpp index 04c2349fc1..48eff645d7 100644 --- a/Libraries/LibWeb/Loader/ResourceLoader.cpp +++ b/Libraries/LibWeb/Loader/ResourceLoader.cpp @@ -117,7 +117,7 @@ void ResourceLoader::load(const URL& url, Function<void(const ByteBuffer&, const if (url.protocol() == "about") { dbg() << "Loading about: URL " << url; deferred_invoke([success_callback = move(success_callback)](auto&) { - success_callback(ByteBuffer::wrap(String::empty().characters(), 1), {}); + success_callback(ByteBuffer::wrap(const_cast<char*>(String::empty().characters()), 1), {}); }); return; } |