Changeset 147884 in webkit
- Timestamp:
- Apr 7, 2013 4:00:28 PM (11 years ago)
- Location:
- trunk/Source/WTF
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r147882 r147884 1 2013-04-07 Patrick Gansterer <paroga@webkit.org> 2 3 [WIN] Fix problems with export macros of AutodrainedPool 4 https://bugs.webkit.org/show_bug.cgi?id=114132 5 6 Reviewed by Geoffrey Garen. 7 8 Exporting an inline function results in an error with the MS compiler. 9 10 * wtf/AutodrainedPool.h: 11 (AutodrainedPool): 12 (WTF::AutodrainedPool::AutodrainedPool): 13 (WTF::AutodrainedPool::~AutodrainedPool): 14 (WTF::AutodrainedPool::cycle): 15 1 16 2013-04-07 Patrick Gansterer <paroga@webkit.org> 2 17 -
trunk/Source/WTF/wtf/AutodrainedPool.h
r145592 r147884 39 39 WTF_MAKE_NONCOPYABLE(AutodrainedPool); 40 40 public: 41 #if PLATFORM(MAC) 41 42 WTF_EXPORT_PRIVATE explicit AutodrainedPool(int iterationLimit = 1); 42 43 WTF_EXPORT_PRIVATE ~AutodrainedPool(); 43 44 44 45 WTF_EXPORT_PRIVATE void cycle(); 46 #else 47 explicit AutodrainedPool(int = 1) { } 48 ~AutodrainedPool() { } 49 void cycle() { } 50 #endif 45 51 46 52 private: … … 52 58 }; 53 59 54 #if !PLATFORM(MAC)55 inline AutodrainedPool::AutodrainedPool(int) { }56 inline AutodrainedPool::~AutodrainedPool() { }57 inline void AutodrainedPool::cycle() { }58 #endif59 60 60 } // namespace WTF 61 61 … … 63 63 64 64 #endif 65 66
Note: See TracChangeset
for help on using the changeset viewer.