This repository was archived by the owner on Mar 26, 2020. It is now read-only.

Description
I use latest version of the djinni with next options:
--cpp-nn-header ""/nn.hpp""
--cpp-nn-type "dropbox::oxygen::nn_shared_ptr"
--cpp-nn-check-expression "NN_CHECK_ASSERT" \
But when I try to compile generated sources for objective-c++ I receive an error:
../objcpp/services/Configuration+Private.mm:65:57: error: conversion function from
'std::__1::shared_ptr<kvrepository::KeyValueRepository>' to 'const DSERVICES::KeyValueRepository::CppType' (aka 'const dropbox::oxygen::nn<std::__1::shared_ptr<kvrepository::KeyValueRepository> >') invokes a deleted
function
return ::DSERVICES::KeyValueRepository::fromCpp(objcpp_result_);
^~~~~~~~~~~~~~
In file included from
objcpp/services/Configuration+Private.mm:4:
In file included from
objcpp/services/Configuration+Private.h:5:
include/nn/nn.hpp:102:5: note: 'nn' has been explicitly marked deleted here
nn(PtrType) = delete; // must use NN_CHECK_ASSERT or NN_CHECK_THROW
^
Thx.