Verified Commit a9d4eb8f authored by Alberto Miranda's avatar Alberto Miranda ♨️
Browse files

Remove unused code

parent b8858b10
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -233,8 +233,6 @@ struct adhoc_storage {
        exec_mode() const;
        enum access_type
        access_type() const;
        adhoc_storage::resources
        resources() const;
        std::uint32_t
        walltime() const;
        bool
@@ -257,10 +255,6 @@ struct adhoc_storage {
    };

    adhoc_storage();
    adhoc_storage(enum adhoc_storage::type type, std::string name,
                  std::uint64_t id, execution_mode exec_mode,
                  access_type access_type, adhoc_storage::resources res,
                  std::uint32_t walltime, bool should_flush);
    explicit adhoc_storage(ADM_adhoc_storage_t storage);
    explicit operator ADM_adhoc_storage_t() const;
    adhoc_storage(enum adhoc_storage::type type, std::string name,
+0 −10
Original line number Diff line number Diff line
@@ -682,16 +682,6 @@ private:

adhoc_storage::adhoc_storage() = default;

adhoc_storage::adhoc_storage(enum adhoc_storage::type type, std::string name,
                             std::uint64_t id, execution_mode exec_mode,
                             access_type access_type,
                             struct adhoc_storage::resources res,
                             std::uint32_t walltime, bool should_flush)
    : m_pimpl(std::make_unique<impl>(type, std::move(name), id,
                                     adhoc_storage::ctx{exec_mode, access_type,
                                                        walltime, should_flush},
                                     std::move(res))) {}

adhoc_storage::adhoc_storage(ADM_adhoc_storage_t st)
    : m_pimpl(std::make_unique<impl>(
              static_cast<enum adhoc_storage::type>(st->s_type), st->s_name,