mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[12632] Revert previous commit (see Notes)
This commit is contained in:
parent
1cd806c02e
commit
ef445ea523
1462 changed files with 9689 additions and 7080 deletions
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
namespace G3D {
|
||||
|
||||
/**
|
||||
/*
|
||||
A cache that does not prevent its members from being garbage collected.
|
||||
Useful to avoid loading or computing an expression twice. Useful
|
||||
for memoization and dynamic programming.
|
||||
|
|
@ -56,7 +56,7 @@ private:
|
|||
Table<Key, ValueWeakRef> table;
|
||||
|
||||
public:
|
||||
/**
|
||||
/*
|
||||
Returns NULL if the object is not in the cache
|
||||
*/
|
||||
ValueRef operator[](const Key& k) {
|
||||
|
|
@ -93,7 +93,7 @@ private:
|
|||
Table<Key, ValueRef> table;
|
||||
|
||||
public:
|
||||
/**
|
||||
/*
|
||||
Returns NULL if the object is not in the cache
|
||||
*/
|
||||
ValueRef operator[](const Key& k) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue