diff options
Diffstat (limited to 'graphics/asymptote/LspCpp/include/LibLsp/lsp/ResourceOperation.h')
-rw-r--r-- | graphics/asymptote/LspCpp/include/LibLsp/lsp/ResourceOperation.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/graphics/asymptote/LspCpp/include/LibLsp/lsp/ResourceOperation.h b/graphics/asymptote/LspCpp/include/LibLsp/lsp/ResourceOperation.h index ea60205900..3d317a8153 100644 --- a/graphics/asymptote/LspCpp/include/LibLsp/lsp/ResourceOperation.h +++ b/graphics/asymptote/LspCpp/include/LibLsp/lsp/ResourceOperation.h @@ -18,12 +18,12 @@ struct CreateFileOptions{ /** * Overwrite existing file. Overwrite wins over `ignoreIfExists` */ - boost::optional<bool> overwrite = false; + optional<bool> overwrite = false; /** * Ignore if exists. */ - boost::optional< bool> ignoreIfExists =false; + optional< bool> ignoreIfExists =false; MAKE_SWAP_METHOD(CreateFileOptions, overwrite, ignoreIfExists) }; @@ -39,7 +39,7 @@ struct lsCreateFile :public ResourceOperation { /** * Additional options */ - boost::optional<CreateFileOptions> options; + optional<CreateFileOptions> options; /** @@ -47,7 +47,7 @@ struct lsCreateFile :public ResourceOperation { * * @since 3.16.0 */ - boost::optional<lsChangeAnnotationIdentifier> annotationId; + optional<lsChangeAnnotationIdentifier> annotationId; MAKE_SWAP_METHOD(lsCreateFile, kind, uri, options, annotationId) }; @@ -58,12 +58,12 @@ struct DeleteFileOptions { /** * Delete the content recursively if a folder is denoted. */ - boost::optional<bool> recursive = false; + optional<bool> recursive = false; /** * Ignore the operation if the file doesn't exist. */ - boost::optional<bool> ignoreIfNotExists = false; + optional<bool> ignoreIfNotExists = false; MAKE_SWAP_METHOD(DeleteFileOptions, recursive, ignoreIfNotExists); @@ -81,7 +81,7 @@ struct lsDeleteFile :public ResourceOperation { /** * Delete options. */ - boost::optional<DeleteFileOptions> options; + optional<DeleteFileOptions> options; MAKE_SWAP_METHOD(lsDeleteFile, kind, uri, options); }; @@ -104,14 +104,14 @@ struct lsRenameFile :public ResourceOperation { /** * Rename options. */ - boost::optional<RenameFileOptions> options; + optional<RenameFileOptions> options; /** * An optional annotation identifer describing the operation. * * @since 3.16.0 */ - boost::optional<lsChangeAnnotationIdentifier> annotationId; + optional<lsChangeAnnotationIdentifier> annotationId; MAKE_SWAP_METHOD(lsRenameFile, kind, oldUri, newUri, options, annotationId) }; |