Merge remote branch 'origin/master'
* origin/master: change #ifndef name static init. problem removed
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
* EPICS pvDataCPP is distributed subject to a Software License Agreement found
|
||||
* in file LICENSE that is included with this distribution.
|
||||
*/
|
||||
#ifndef SHOWCONSTRUCTDESTRUCT_H
|
||||
#define SHOWCONSTRUCTDESTRUCT_H
|
||||
#ifndef CDRMONITOR_H
|
||||
#define CDRMONITOR_H
|
||||
#include <stddef.h>
|
||||
#include <stdlib.h>
|
||||
#include <stddef.h>
|
||||
@@ -91,4 +91,4 @@ private:
|
||||
|
||||
|
||||
}}
|
||||
#endif /* SHOWCONSTRUCTDESTRUCT_H */
|
||||
#endif /* CDRMONITOR_H */
|
||||
|
||||
@@ -19,7 +19,8 @@
|
||||
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
PVDATA_REFCOUNT_MONITOR_DEFINE(status);
|
||||
// TODO disabled due to problem with static initialization (order)
|
||||
//PVDATA_REFCOUNT_MONITOR_DEFINE(status);
|
||||
|
||||
class StatusImpl : public Status
|
||||
{
|
||||
@@ -28,17 +29,17 @@ class StatusImpl : public Status
|
||||
StatusImpl(StatusType type, String message) :
|
||||
m_type(type), m_message(message)
|
||||
{
|
||||
PVDATA_REFCOUNT_MONITOR_CONSTRUCT(status);
|
||||
// PVDATA_REFCOUNT_MONITOR_CONSTRUCT(status);
|
||||
}
|
||||
|
||||
StatusImpl(StatusType type, String message, String stackDump) :
|
||||
m_type(type), m_message(message), m_stackDump(stackDump)
|
||||
{
|
||||
PVDATA_REFCOUNT_MONITOR_CONSTRUCT(status);
|
||||
//PVDATA_REFCOUNT_MONITOR_CONSTRUCT(status);
|
||||
}
|
||||
|
||||
virtual ~StatusImpl() {
|
||||
PVDATA_REFCOUNT_MONITOR_DESTRUCT(status);
|
||||
//PVDATA_REFCOUNT_MONITOR_DESTRUCT(status);
|
||||
}
|
||||
|
||||
virtual StatusType getType()
|
||||
|
||||
Reference in New Issue
Block a user