[PATCH xorg-gtest 04/11] xserver: change Start() to be virtual

Peter Hutterer peter.hutterer at who-t.net
Mon Oct 29 18:38:26 PDT 2012


Subclassed servers may need to override this behaviour

Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 include/xorg/gtest/xorg-gtest-xserver.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/xorg/gtest/xorg-gtest-xserver.h b/include/xorg/gtest/xorg-gtest-xserver.h
index 623e672..0574901 100644
--- a/include/xorg/gtest/xorg-gtest-xserver.h
+++ b/include/xorg/gtest/xorg-gtest-xserver.h
@@ -88,7 +88,7 @@ class XServer : public xorg::testing::Process {
      *
      * @param [in] program Path to the XServer binary
      */
-    void Start(const std::string &program = "");
+    virtual void Start(const std::string &program = "");
 
     /**
      * Terminates this server process. Will signal the server to terminate
-- 
1.7.11.7



More information about the xorg-devel mailing list