OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008 Apple Inc. All rights reserved. |
3 * Copyright (C) 2009 Jian Li <jianli@chromium.org> | 3 * Copyright (C) 2009 Jian Li <jianli@chromium.org> |
4 * Copyright (C) 2012 Patrick Gansterer <paroga@paroga.com> | 4 * Copyright (C) 2012 Patrick Gansterer <paroga@paroga.com> |
5 * | 5 * |
6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
8 * are met: | 8 * are met: |
9 * | 9 * |
10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
269 | 269 |
270 template<typename T> | 270 template<typename T> |
271 inline T& ThreadSpecific<T>::operator*() | 271 inline T& ThreadSpecific<T>::operator*() |
272 { | 272 { |
273 return *operator T*(); | 273 return *operator T*(); |
274 } | 274 } |
275 | 275 |
276 } // namespace WTF | 276 } // namespace WTF |
277 | 277 |
278 #endif // WTF_ThreadSpecific_h | 278 #endif // WTF_ThreadSpecific_h |
OLD | NEW |