aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrTraceMarker.h
diff options
context:
space:
mode:
authorGravatar bungeman <bungeman@google.com>2015-08-12 13:37:16 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-08-12 13:37:17 -0700
commit72440a3785c13b8ec539d7e11bea1124eeddecbd (patch)
treeb326003afce201c5cc68e9dc3c78d110ece72ca3 /src/gpu/GrTraceMarker.h
parent65bd7ae3741847d1f01bcf5266f42ff9e371952d (diff)
Use forwarding with SkTLazy::init.
This allows removal the difficult to use (and so currently unused) placement new and related macros to allow any constructor of T to be used to initilize the storage of SkTLazy. This also properly aligns the SkTLazy storage. Review URL: https://codereview.chromium.org/1283183003
Diffstat (limited to 'src/gpu/GrTraceMarker.h')
-rw-r--r--src/gpu/GrTraceMarker.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gpu/GrTraceMarker.h b/src/gpu/GrTraceMarker.h
index 4ecda2c67a..3182b3948e 100644
--- a/src/gpu/GrTraceMarker.h
+++ b/src/gpu/GrTraceMarker.h
@@ -13,7 +13,6 @@
class GrGpuTraceMarker {
public:
- GrGpuTraceMarker() {};
GrGpuTraceMarker(const char* marker, int idCounter) : fMarker(marker), fID(idCounter) {}
bool operator<(const GrGpuTraceMarker& rhs) const {