mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-27 02:01:42 +00:00
Switches C++ strings to StringRef (#336)
This commit is contained in:
committed by
Peter Johnson
parent
8cec948699
commit
8e4afc95c7
@@ -11,11 +11,12 @@
|
||||
|
||||
#include "HAL/HAL.h"
|
||||
#include "WPIErrors.h"
|
||||
#include "llvm/StringRef.h"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
/** The Preferences table name */
|
||||
static const char* kTableName = "Preferences";
|
||||
static llvm::StringRef kTableName{"Preferences"};
|
||||
|
||||
void Preferences::Listener::ValueChanged(ITable* source, llvm::StringRef key,
|
||||
std::shared_ptr<nt::Value> value,
|
||||
|
||||
Reference in New Issue
Block a user