blob: 1613418540daa7e254a24d0834bbdbc4336490e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
// $Id$
namespace Kokyu
{
ACE_INLINE
Dispatch_Command::Dispatch_Command (int dont_delete)
:dont_delete_ (dont_delete)
{
}
ACE_INLINE
int Dispatch_Command::can_be_deleted (void) const
{
return !dont_delete_;
}
ACE_INLINE
void Dispatch_Command::destroy (void)
{
//@@what if it was allocated thru an allocator?
//may be this should be left as a pure virtual
delete this;
}
ACE_INLINE
non_copyable::non_copyable (void)
{
}
ACE_INLINE
non_copyable::~non_copyable (void)
{}
}
|