diff options
Diffstat (limited to 'graphics/asymptote/LspCpp/include/LibLsp/lsp/lsFormattingOptions.h')
-rw-r--r-- | graphics/asymptote/LspCpp/include/LibLsp/lsp/lsFormattingOptions.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/graphics/asymptote/LspCpp/include/LibLsp/lsp/lsFormattingOptions.h b/graphics/asymptote/LspCpp/include/LibLsp/lsp/lsFormattingOptions.h index cc3ad4bbac..0c3999896b 100644 --- a/graphics/asymptote/LspCpp/include/LibLsp/lsp/lsFormattingOptions.h +++ b/graphics/asymptote/LspCpp/include/LibLsp/lsp/lsFormattingOptions.h @@ -4,9 +4,9 @@ struct lsFormattingOptions { struct KeyData { - boost::optional<bool> _boolean; - boost::optional<int32_t> _integer; - boost::optional<std::string> _string; + optional<bool> _boolean; + optional<int32_t> _integer; + optional<std::string> _string; }; // Size of a tab in spaces. @@ -19,22 +19,22 @@ struct lsFormattingOptions { * * @since 3.15.0 */ - boost::optional<bool> trimTrailingWhitespace; + optional<bool> trimTrailingWhitespace; /** * Insert a newline character at the end of the file if one does not exist. * * @since 3.15.0 */ - boost::optional<bool> insertFinalNewline; + optional<bool> insertFinalNewline; /** * Trim all newlines after the final newline at the end of the file. * * @since 3.15.0 */ - boost::optional<bool> trimFinalNewlines; - boost::optional<KeyData> key; + optional<bool> trimFinalNewlines; + optional<KeyData> key; MAKE_SWAP_METHOD(lsFormattingOptions, tabSize, insertSpaces, trimTrailingWhitespace, insertFinalNewline, trimFinalNewlines, key) }; MAKE_REFLECT_STRUCT(lsFormattingOptions, tabSize, insertSpaces, trimTrailingWhitespace, insertFinalNewline, trimFinalNewlines, key); |