Chromium Code Reviews| Index: sky/engine/platform/Length.h |
| diff --git a/sky/engine/platform/Length.h b/sky/engine/platform/Length.h |
| index a9252842986aec48c8a97b3e901e1546f7943fcc..5277fb21d43733dcc0dee943998b3ae00d637cdb 100644 |
| --- a/sky/engine/platform/Length.h |
| +++ b/sky/engine/platform/Length.h |
| @@ -120,6 +120,7 @@ public: |
| return *this; |
| } |
| +#if COMPILER_SUPPORTS(CXX_RVALUE_REFERENCES) |
| Length(Length&& length) |
| { |
| memcpy(this, &length, sizeof(Length)); |
| @@ -147,6 +148,7 @@ public: |
| return *this; |
| } |
| +#endif |
| ~Length() |
| { |