summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibSQL/SyntaxHighlighter.cpp
diff options
context:
space:
mode:
authorMax Wipfli <mail@maxwipfli.ch>2021-05-12 10:21:00 +0200
committerAndreas Kling <kling@serenityos.org>2021-05-18 21:02:07 +0200
commita7681dbeea882456915e01a12095429460a0df30 (patch)
tree3c1e0b3c75118ab4a6c5b84f824d2148d802ddee /Userland/Libraries/LibSQL/SyntaxHighlighter.cpp
parentce6d6706a677de6091676e1affdb121ab6775717 (diff)
downloadserenity-a7681dbeea882456915e01a12095429460a0df30.zip
LibWeb: Change Resource's m_encoding to Optional<String>
This modifies the Resource class to use Optional<String> for the encoding. If the encoding is unknown, the Optional will not have a value (instead of using the null state of the String class). It also implements a has_encoding() instance method and modifies the callers of Resource::encoding() to use the new API.
Diffstat (limited to 'Userland/Libraries/LibSQL/SyntaxHighlighter.cpp')
0 files changed, 0 insertions, 0 deletions