cscore: Use Twine instead of StringRef in API (#1244)

This commit is contained in:
Peter Johnson
2018-07-29 12:53:41 -07:00
committed by GitHub
parent 97a8f8f47b
commit 195e101816
35 changed files with 365 additions and 350 deletions

View File

@@ -15,6 +15,7 @@
#include <vector>
#include <wpi/SmallVector.h>
#include <wpi/Twine.h>
#include <wpi/mutex.h>
#include "Image.h"
@@ -46,7 +47,7 @@ class Frame {
public:
Frame() noexcept : m_impl{nullptr} {}
Frame(SourceImpl& source, wpi::StringRef error, Time time);
Frame(SourceImpl& source, const wpi::Twine& error, Time time);
Frame(SourceImpl& source, std::unique_ptr<Image> image, Time time);