loadgen/engine/inc/loadgen_keypress.h
changeset 48 da3ec8478e66
parent 17 4f2773374eff
--- a/loadgen/engine/inc/loadgen_keypress.h	Thu Sep 02 20:27:24 2010 +0300
+++ b/loadgen/engine/inc/loadgen_keypress.h	Fri Sep 17 08:29:47 2010 +0300
@@ -51,7 +51,7 @@
     virtual void Close();
     virtual TPtrC Description();
     inline TKeyPressAttributes& Attributes() { return iAttributes; }
-	inline void SetAttributes(TKeyPressAttributes aAttributes) { iAttributes = aAttributes; }
+	inline void SetAttributes(const TKeyPressAttributes& aAttributes) { iAttributes = aAttributes; }
 
 public:  // New static methods
     static TInt ThreadFunction(TAny* aThreadArg);