small atlas fix
  • An obvious error since Atlas/Message/Encoder.h doesn't even exist (any more) and bridge is passed by reference not by pointer to the Encoder class. Allthough it's documented I guess no-one ever used Layer.h.

    Index: Atlas/Message/Layer.h
    ===================================================================
    RCS file: /home/cvspsrv/worldforge/forge/libs/Atlas-C++/Atlas/Message/Layer.h,v
    retrieving revision 1.9
    diff -u -r1.9 Layer.h
    --- Atlas/Message/Layer.h 28 Oct 2006 04:01:18 -0000 1.9
    +++ Atlas/Message/Layer.h 12 Jan 2007 00:15:16 -0000
    @@ -7,7 +7,7 @@
    #ifndef ATLAS_MESSAGE_LAYER_H
    #define ATLAS_MESSAGE_LAYER_H

    -#include <Atlas/Message/Encoder.h>
    +#include <Atlas/Message/MEncoder.h>

    namespace Atlas { namespace Message {

    @@ -25,7 +25,7 @@
    class Layer : public Encoder, public Decoder
    {
    public:
    - Layer(Atlas::Bridge* b) : Encoder(b), Decoder() { }
    + Layer(Atlas::Bridge* b) : Encoder(*b), Decoder() { }
    virtual ~Layer() { }
    };
  • Layer.cpp is no longer included in the build or the distribution of Atlas-C++. The fact that the header is still in there was an oversight. Thanks for alerting me to the issue.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID