1*01826a49SYabin Cui /* 2*01826a49SYabin Cui * Copyright (c) Meta Platforms, Inc. and affiliates. 3*01826a49SYabin Cui * All rights reserved. 4*01826a49SYabin Cui * 5*01826a49SYabin Cui * This source code is licensed under both the BSD-style license (found in the 6*01826a49SYabin Cui * LICENSE file in the root directory of this source tree) and the GPLv2 (found 7*01826a49SYabin Cui * in the COPYING file in the root directory of this source tree). 8*01826a49SYabin Cui */ 9*01826a49SYabin Cui 10*01826a49SYabin Cui #pragma once 11*01826a49SYabin Cui 12*01826a49SYabin Cui #include <algorithm> 13*01826a49SYabin Cui 14*01826a49SYabin Cui // Required for windows, which defines min/max, but we want the std:: version. 15*01826a49SYabin Cui #undef min 16*01826a49SYabin Cui #undef max 17