mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 11:55:49 +00:00
Bug 813071. Remove unncessary AOSP License block. r=gerv
This code is the same as the public domain code at "Bit Twiddling Hacks" --HG-- extra : rebase_source : 813c7bec84250227bee13a51e2f2ca23c628055b
This commit is contained in:
parent
7f6544a566
commit
a9a9a2445b
@ -152,15 +152,12 @@ namespace mozilla {
|
||||
namespace gfx {
|
||||
|
||||
|
||||
/*
|
||||
* Copyright 2008 The Android Open Source Project
|
||||
*
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
/* These techniques are suggested by "Bit Twiddling Hacks"
|
||||
*/
|
||||
|
||||
/**
|
||||
* Returns true if |aNumber| is a power of two
|
||||
* 0 is incorreclty considered a power of two
|
||||
*/
|
||||
static inline bool
|
||||
IsPowerOfTwo(int aNumber)
|
||||
|
Loading…
Reference in New Issue
Block a user