blob: 40f52f9b63d55ede0f7fcbd1d7dfae821b93d892 [file] [log] [blame]
//===-- Stream.cpp - General stream implementation ------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
///
/// \file
/// This file contains the implementation details for a general stream object.
///
//===----------------------------------------------------------------------===//
#include "streamexecutor/Stream.h"
namespace streamexecutor {
Stream::Stream(std::unique_ptr<PlatformStreamHandle> PStream)
: PExecutor(PStream->getExecutor()), ThePlatformStream(std::move(PStream)) {
}
Stream::~Stream() = default;
} // namespace streamexecutor