mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
Make many more utility classes/headers public. (#76)
Moving these headers from src to include enables other libraries to use the functionality provided. * tcpsockets * atomic_static * raw_istream * timestamp * SafeThread * Base64 * LEB128 * ConcurrentQueue The classes have been moved into the wpi namespace as they're generic.
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
#include <tuple>
|
||||
|
||||
#include "llvm/StringExtras.h"
|
||||
#include "Base64.h"
|
||||
#include "support/Base64.h"
|
||||
#include "Log.h"
|
||||
#include "NetworkConnection.h"
|
||||
|
||||
@@ -853,7 +853,7 @@ static void SavePersistentImpl(
|
||||
WriteString(os, v->GetString());
|
||||
break;
|
||||
case NT_RAW:
|
||||
Base64Encode(v->GetRaw(), &base64_encoded);
|
||||
wpi::Base64Encode(v->GetRaw(), &base64_encoded);
|
||||
os << base64_encoded;
|
||||
break;
|
||||
case NT_BOOLEAN_ARRAY: {
|
||||
@@ -1139,7 +1139,7 @@ bool Storage::LoadPersistent(
|
||||
break;
|
||||
}
|
||||
case NT_RAW:
|
||||
Base64Decode(line, &str);
|
||||
wpi::Base64Decode(line, &str);
|
||||
value = Value::MakeRaw(std::move(str));
|
||||
break;
|
||||
case NT_BOOLEAN_ARRAY: {
|
||||
|
||||
Reference in New Issue
Block a user