test::Harness: getSurfaceGeometry const correction
authorU. Artie Eoff <ullysses.a.eoff@intel.com>
Mon, 17 Jun 2013 18:52:15 +0000 (11:52 -0700)
committerU. Artie Eoff <ullysses.a.eoff@intel.com>
Mon, 17 Jun 2013 18:52:15 +0000 (11:52 -0700)
Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
src/test/harness.cpp
src/test/harness.h

index d87b8ae..54345a7 100644 (file)
@@ -63,7 +63,7 @@ void Harness::runNextStep()
        step();
 }
 
-Geometry Harness::getSurfaceGeometry(wl_surface *surface)
+Geometry Harness::getSurfaceGeometry(wl_surface *surface) const
 {
        Client::QueryRequest* request = client().makeGeometryRequest(surface);
 
index 8f332e8..a331481 100644 (file)
@@ -52,7 +52,7 @@ public:
        void            runNextStep();
        bool            haveStep() const;
 
-       Geometry        getSurfaceGeometry(wl_surface*);
+       Geometry        getSurfaceGeometry(wl_surface*) const;
        void            setGlobalPointerPosition(int32_t, int32_t) const;
        void            setGlobalPointerPosition(const Position&) const;
        Position        getGlobalPointerPosition() const;