← Back to team overview

zeitgeist team mailing list archive

[Branch ~zeitgeist/zeitgeist/bluebird] Rev 318: Don't create a copy when using get_value

 

------------------------------------------------------------
revno: 318
committer: Michal Hruby <michal.mhr@xxxxxxxxx>
branch nick: bb-fts
timestamp: Wed 2011-10-19 10:37:00 +0200
message:
  Don't create a copy when using get_value
modified:
  src/table-lookup.vala


--
lp:~zeitgeist/zeitgeist/bluebird
https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird

Your team Zeitgeist Framework Team is subscribed to branch lp:~zeitgeist/zeitgeist/bluebird.
To unsubscribe from this branch go to https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird/+edit-subscription
=== modified file 'src/table-lookup.vala'
--- src/table-lookup.vala	2011-09-17 19:38:43 +0000
+++ src/table-lookup.vala	2011-10-19 08:37:00 +0000
@@ -85,7 +85,7 @@
             return id;
         }
 
-        public string get_value (int id)
+        public unowned string get_value (int id)
         {
             // When we fetch an event, it either was already in the database
             // at the time Zeitgeist started or it was inserted later -using