diff options
author | bratell <bratell@opera.com> | 2015-04-14 14:44:34 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-04-14 21:45:15 +0000 |
commit | e67c6972f457f8d77d3b766f4dfb598e0a7be0e9 (patch) | |
tree | 543e0379683485892430f5d09360a4a3ff14b0c3 /base | |
parent | e552aeb323df9e9077a200d8ceed728a3d55b03d (diff) | |
download | chromium_src-e67c6972f457f8d77d3b766f4dfb598e0a7be0e9.zip chromium_src-e67c6972f457f8d77d3b766f4dfb598e0a7be0e9.tar.gz chromium_src-e67c6972f457f8d77d3b766f4dfb598e0a7be0e9.tar.bz2 |
Move an include guard to guard all code in base/move.h
gcc -H warned about base/move.h missing an include guard and it was
because the existing include guard didn't encompass all the code in the
file.
This fixes that warning and maybe makes compilations one nanosecond
faster.
The code outside the include guard was added Oct 2014 when fixing bug
418297.
BUG=418297
Review URL: https://codereview.chromium.org/1082263002
Cr-Commit-Position: refs/heads/master@{#325132}
Diffstat (limited to 'base')
-rw-r--r-- | base/move.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/move.h b/base/move.h index 09ad915..87dc52d 100644 --- a/base/move.h +++ b/base/move.h @@ -2,11 +2,11 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "base/compiler_specific.h" - #ifndef BASE_MOVE_H_ #define BASE_MOVE_H_ +#include "base/compiler_specific.h" + // Macro with the boilerplate that makes a type move-only in C++03. // // USAGE |