blob: d543b90967050c8a0e0f5cd70c1edef1349ab92f [file] [log] [blame]
// Copyright 2020 The ChromiumOS Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "cryptohome/crypto_error.h"
#include <iostream>
#include <type_traits>
#include <base/logging.h>
namespace cryptohome {
std::ostream& operator<<(std::ostream& os, const CryptoError& obj) {
os << static_cast<std::underlying_type<CryptoError>::type>(obj);
return os;
}
} // namespace cryptohome