Skip to content

Commit

Permalink
Inherit FILESETRES class from BRSRES class.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco van Wieringen committed Feb 17, 2015
1 parent 79be85d commit 439d459
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
7 changes: 1 addition & 6 deletions src/dird/dird_conf.h
Expand Up @@ -527,10 +527,8 @@ struct INCEXE {
/*
* FileSet Resource
*/
class FILESETRES {
class FILESETRES : public BRSRES {
public:
RES hdr;

bool new_include; /* Set if new include used */
INCEXE **include_items; /* Array of incexe structures */
int32_t num_includes; /* Number in array */
Expand All @@ -543,12 +541,9 @@ class FILESETRES {
bool enable_vss; /* Enable Volume Shadow Copy */

/* Methods */
char *name() const;
bool print_config(POOL_MEM& buff);
};

inline char *FILESETRES::name() const { return hdr.name; }

/*
* Schedule Resource
*/
Expand Down
1 change: 0 additions & 1 deletion src/lib/parse_conf.h
Expand Up @@ -213,7 +213,6 @@ class MSGSRES : public BRSRES {
/*
* Methods
*/
// char *name() const;
void clear_in_use() { lock(); m_in_use=false; unlock(); }
void set_in_use() { wait_not_in_use(); m_in_use=true; unlock(); }
void set_closing() { m_closing=true; }
Expand Down

0 comments on commit 439d459

Please sign in to comment.