make Callback use a separate empty type

This commit is contained in:
Mathieu Lacage committed 2007-05-25 14:13:23 +02:00
1 parent 985846f3f8
commit 65c19eb396
3 files changed
+10 -2

No files matched your search

+1 -2
View File
@@ -24,6 +24,7 @@
#include "ptr.h"
#include "fatal-error.h"
#include "empty.h"
namespace ns3 {
@@ -56,8 +57,6 @@ namespace ns3 {
* and relies on a reference list rather than autoPtr to hold
* the pointer.
*/
class empty {};
template <typename T>
struct CallbackTraits;
+8
View File
@@ -0,0 +1,8 @@
#ifndef EMPTY_H
#define EMPTY_H
namespace ns3 {
class empty {};
}
#endif /* EMPTY_H */