Mercurial > projects > qtd
comparison qt/QGlobal.d @ 167:ae06da58ec25
fixed hacky conversion of arguments when emmitting a signal
author | eldar |
---|---|
date | Sat, 20 Jun 2009 19:14:29 +0000 |
parents | 875d313c2778 |
children | d66bbb9a5053 |
comparison
equal
deleted
inserted
replaced
166:52da31f967f0 | 167:ae06da58ec25 |
---|---|
399 value2.data_ptr() = t; | 399 value2.data_ptr() = t; |
400 } | 400 } |
401 | 401 |
402 void qSwap(T)(ref T value1, ref T value2) | 402 void qSwap(T)(ref T value1, ref T value2) |
403 { | 403 { |
404 <<<<<<< .mine | |
405 const T.nativeId t = value1.nativeId; | |
406 value1.nativeId = value2.nativeId; | |
407 value2.nativeId = t; | |
408 ======= | |
404 T t = value1; | 409 T t = value1; |
405 value1 = value2; | 410 value1 = value2; |
406 value2 = t; | 411 value2 = t; |
412 >>>>>>> .r170 | |
407 } | 413 } |
408 | 414 |
409 /* | 415 /* |
410 QTypeInfo primitive specializations | 416 QTypeInfo primitive specializations |
411 TODO(katrina) Find out what we need to do here | 417 TODO(katrina) Find out what we need to do here |