Skip to content

Commit

Permalink
add virtual destructor
Browse files Browse the repository at this point in the history
  • Loading branch information
neverchanje committed Jul 6, 2020
1 parent 4ae03d9 commit 918a449
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/galaxy_fds.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ class MetadataBean;

class GalaxyFDS {
public:
virtual ~GalaxyFDS() = default;

virtual std::vector<std::shared_ptr<FDSBucket> > listBuckets() = 0;

virtual void createBucket(const std::string& bucketName) = 0;
Expand Down
2 changes: 2 additions & 0 deletions include/galaxy_fds_client.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ class GalaxyFDSClient : public GalaxyFDS {
GalaxyFDSClient(const std::string& accessKey, const std::string& secretKey,
const FDSClientConfiguration& config);

~GalaxyFDSClient() override = default;

static const std::string DATE_FORMAT;

std::vector<std::shared_ptr<FDSBucket> > listBuckets() override;
Expand Down

0 comments on commit 918a449

Please sign in to comment.