Bug 921

Summary: Inconsistent declaration of class/struct Object in object.h
Product: ns-3 Reporter: Quincy Tse <quincy.tse>
Component: coreAssignee: Mathieu Lacage <mathieu.lacage>
Status: RESOLVED FIXED    
Severity: trivial CC: ns-bugs
Priority: P5    
Version: ns-3-dev   
Hardware: All   
OS: All   
Attachments: Proposed patch

Description Quincy Tse 2010-05-27 02:04:42 UTC
Mismatched declaration fails static analysis (clang). No real problem functionally.

In file included from ../src/core/object.cc:22:
../src/core/object.h:232:10: error: class 'ObjectDeleter' was previously
      declared as a struct [-Wmismatched-tags]
  friend class ObjectDeleter;
         ^~~~~
         struct
../src/core/object.h:42:8: note: previous use is here
struct ObjectDeleter
       ^
1 error generated.
Comment 1 Quincy Tse 2010-05-27 02:06:23 UTC
Created attachment 884 [details]
Proposed patch
Comment 2 Mathieu Lacage 2010-05-27 02:34:57 UTC
applied: changeset a1e00acc5986