12 years, 6 months ago
(2012-07-10 13:14:51 UTC)
#1
http://codereview.appspot.com/6392044/diff/1/include/core/SkData.h
File include/core/SkData.h (right):
http://codereview.appspot.com/6392044/diff/1/include/core/SkData.h#newcode24
include/core/SkData.h:24:
Was generating error:
\include\core\skrefcnt.h(161): warning C4624: 'SkAutoTUnref<T>::BlockRef<B>' :
destructor could not be generated because a base class destructor is
inaccessible
with
[
T=SkData
]
and
[
B=SkData
]
\trunk\tests\datareftest.cpp(36) : see reference to class template
instantiation 'SkAutoTUnref<T>::BlockRef<B>' being compiled
with
[
T=SkData,
B=SkData
]
Aside from the below, LGTM. http://codereview.appspot.com/6392044/diff/1/include/core/SkData.h File include/core/SkData.h (right): http://codereview.appspot.com/6392044/diff/1/include/core/SkData.h#newcode24 include/core/SkData.h:24: On 2012/07/10 13:14:51, robertphillips ...
12 years, 6 months ago
(2012-07-10 13:24:16 UTC)
#2
Aside from the below, LGTM.
http://codereview.appspot.com/6392044/diff/1/include/core/SkData.h
File include/core/SkData.h (right):
http://codereview.appspot.com/6392044/diff/1/include/core/SkData.h#newcode24
include/core/SkData.h:24:
On 2012/07/10 13:14:51, robertphillips wrote:
> Was generating error:
>
> \include\core\skrefcnt.h(161): warning C4624: 'SkAutoTUnref<T>::BlockRef<B>' :
If we could replace the SkAutoTUnref<> with SkAutoDataUnref, we could declare
SkAutoDataUnref a friend and avoid making the destructor public?
(We do at least want to retain the change of declaring this destructor
virtual...)
Adding Ben & Mike for the SkData.h changes. http://codereview.appspot.com/6392044/diff/1/include/core/SkData.h File include/core/SkData.h (right): http://codereview.appspot.com/6392044/diff/1/include/core/SkData.h#newcode24 include/core/SkData.h:24: As ...
12 years, 6 months ago
(2012-07-10 14:56:30 UTC)
#3
good comment on the friend. http://codereview.appspot.com/6392044/diff/4002/include/core/SkData.h File include/core/SkData.h (right): http://codereview.appspot.com/6392044/diff/4002/include/core/SkData.h#newcode157 include/core/SkData.h:157: If we're going to ...
12 years, 6 months ago
(2012-07-10 15:04:03 UTC)
#4
Issue 6392044: Fixed Windows compiler complaints
(Closed)
Created 12 years, 6 months ago by robertphillips
Modified 12 years, 6 months ago
Reviewers: TomH, reed1, bungeman
Base URL: http://skia.googlecode.com/svn/trunk/
Comments: 5