summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2012-10-29 08:49:53 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2012-11-07 13:14:08 +1000
commit77fa892cca842e447dd8848171e6da3b294d15e6 (patch)
tree07422c4cc119736425b60846c747899caaab7071
parente7936de7e6c492f1c993c89c208b7e1b1ba7116d (diff)
xserver: change Start() to be virtual
Subclassed servers may need to override this behaviour Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--include/xorg/gtest/xorg-gtest-xserver.h2
1 files changed, 1 insertions, 1 deletions
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