← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-pkg/yade/git-trunk] Rev 3794: Prevent binding a reference member to a temp. value.

 

------------------------------------------------------------
revno: 3794
committer: Anton Gladky <gladky.anton@xxxxxxxxx>
timestamp: Mon 2014-01-20 17:14:58 +0100
message:
  Prevent binding a reference member to a temp. value.
  
  The warning was raised up by CLANG, what, seems, makes sense.
modified:
  pkg/dem/L3Geom.hpp


--
lp:yade
https://code.launchpad.net/~yade-pkg/yade/git-trunk

Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-pkg/yade/git-trunk/+edit-subscription
=== modified file 'pkg/dem/L3Geom.hpp'
--- pkg/dem/L3Geom.hpp	2013-08-23 15:21:20 +0000
+++ pkg/dem/L3Geom.hpp	2014-01-20 16:14:58 +0000
@@ -33,7 +33,7 @@
 
 struct L3Geom: public GenericSpheresContact{
 	const Real& uN;
-	const Vector2r& uT; 
+	const Vector2r uT; 
 	virtual ~L3Geom();
 
 	// utility function