Skip to content

Commit

Permalink
[?] Remove unused globals in resource manager implementation.
Browse files Browse the repository at this point in the history
  • Loading branch information
korydraughn committed Oct 25, 2024
1 parent bc5c799 commit 87b1b38
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 18 deletions.
14 changes: 3 additions & 11 deletions server/core/include/irods/irods_resource_manager.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#ifndef __IRODS_RESOURCE_MANAGER_HPP__
#define __IRODS_RESOURCE_MANAGER_HPP__
#ifndef IRODS_RESOURCE_MANAGER_HPP
#define IRODS_RESOURCE_MANAGER_HPP

// =-=-=-=-=-=-=-
#include "irods/rods.h"
#include "irods/irods_resource_plugin.hpp"
#include "irods/irods_first_class_object.hpp"
Expand All @@ -17,12 +16,6 @@ namespace irods
/// @brief definition of the resource interface
extern const std::string RESOURCE_INTERFACE;

// =-=-=-=-=-=-=-
/// @brief special resource for local file system operations only
extern const std::string LOCAL_USE_ONLY_RESOURCE;
extern const std::string LOCAL_USE_ONLY_RESOURCE_VAULT;
extern const std::string LOCAL_USE_ONLY_RESOURCE_TYPE;

class resource_manager {
public:
// =-=-=-=-=-=-=-
Expand Down Expand Up @@ -289,8 +282,7 @@ namespace irods
lookup_table< resource_ptr > resource_name_map_;
lookup_table< resource_ptr, long, std::hash<long> > resource_id_map_;
std::vector< std::vector< pdmo_type > > maintenance_operations_;

}; // class resource_manager
} // namespace irods

#endif // __IRODS_RESOURCE_MANAGER_HPP__
#endif // IRODS_RESOURCE_MANAGER_HPP
7 changes: 0 additions & 7 deletions server/core/src/irods_resource_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,6 @@ namespace irods
/// @brief definition of the resource interface
const std::string RESOURCE_INTERFACE( "irods_resource_interface" );

// =-=-=-=-=-=-=-
/// @brief special resource for local file system operations only
const std::string LOCAL_USE_ONLY_RESOURCE( "LOCAL_USE_ONLY_RESOURCE" );
const std::string LOCAL_USE_ONLY_RESOURCE_VAULT( // TODO This does not appear to be used.
(get_irods_home_directory() / "LOCAL_USE_ONLY_RESOURCE_VAULT").string());
const std::string LOCAL_USE_ONLY_RESOURCE_TYPE( "unixfilesystem" );

// =-=-=-=-=-=-=-
// public - Constructor
resource_manager::resource_manager() {
Expand Down

0 comments on commit 87b1b38

Please sign in to comment.