Skip to content
Snippets Groups Projects
Commit e8667853 authored by nkindlon's avatar nkindlon
Browse files

added changes to stop CLANG compiler warnings.

parent 39fffc97
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,7 @@ namespace Internal {
//! \endcond
// BamAlignment data structure
struct API_EXPORT BamAlignment {
class API_EXPORT BamAlignment {
// constructors & destructor
public:
......
......@@ -19,8 +19,8 @@
namespace BamTools {
struct API_EXPORT SamHeader {
class API_EXPORT SamHeader {
public:
// ctor & dtor
SamHeader(const std::string& headerText = "");
SamHeader(const SamHeader& other);
......
......@@ -30,7 +30,7 @@
namespace BamTools {
namespace Internal {
struct TcpSocketEngine {
class TcpSocketEngine {
// ctors & dtor
public:
......
......@@ -27,8 +27,8 @@
namespace BamTools {
class SamHeader;
class SamReadGroup;
class SamSequence;
struct SamReadGroup;
struct SamSequence;
namespace Internal {
......
......@@ -23,9 +23,25 @@ public:
BamRecord();
virtual const BamRecord &operator=(const BamRecord &);
// This using statement is only being added to supress warning from the CLANG compiler regarding
// hidden overriden methods. Though it makes the base class methods available, developers should
// not actually call them on a BamRecord object.
using Bed6Interval::initFromFile;
bool initFromFile(FileReader *);
virtual bool initFromFile(BamFileReader *);
virtual void clear();
// As above, this using statement is only being added to supress warning from the CLANG compiler
// regarding hidden overriden methods. Though it makes the base class methods available, developers
// should not actually call them on a BamRecord object.
using Bed6Interval::print;
virtual void print(QuickString &outBuf, int start, int end, RecordKeyList *keyList) const;
virtual void print(QuickString &outBuf, RecordKeyList *keyList) const;
virtual void print(QuickString &outBuf, const QuickString & start, const QuickString & end, RecordKeyList *keyList) const;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment