Tabs->Spaces

This commit is contained in:
Alex Harker
2019-06-15 23:34:05 +01:00
parent 1a4e616cfd
commit c11f0a3cf4
3 changed files with 15 additions and 15 deletions
+2 -2
View File
@@ -250,8 +250,8 @@ FL_SP operator * (const FL_SP& a, const FL_SP& b)
FL_SP twoMinus(const FL_SP& b)
{
uint64_t hi = 2U - b.mInt;
uint64_t md = 0U - b.mFracHi;
uint64_t hi = 2U - b.mInt;
uint64_t md = 0U - b.mFracHi;
uint64_t lo = 0U - b.mFracLo;
// N.B. - must be able to double carry!
+2 -2
View File
@@ -288,8 +288,8 @@ FrameLib_LocalAllocator::Storage::~Storage()
void FrameLib_LocalAllocator::Storage::resize(bool tagged, size_t size)
{
size_t actualSize = tagged ? Serial::inPlaceSize(size) : size * sizeof(double);
size_t maxSize = actualSize << 1;
size_t maxSize = actualSize << 1;
if (mMaxSize >= maxSize)
{
// Reallocate for tagged frames
+11 -11
View File
@@ -11,21 +11,21 @@
void unmangleName(std::string& name, FrameLib_Object<FrameLib_Multistream> *obj)
{
int status;
const char *type_mangled_name = typeid(*obj).name();
char *real_name = abi::__cxa_demangle(type_mangled_name, 0, 0, &status);
name = real_name;
free(real_name);
int status;
const char *type_mangled_name = typeid(*obj).name();
char *real_name = abi::__cxa_demangle(type_mangled_name, 0, 0, &status);
name = real_name;
free(real_name);
}
#else
void unmangleName(std::string& name, FrameLib_Object<FrameLib_Multistream> *obj)
{
// FIX - needs implementing
const char *type_mangled_name = typeid(*obj).name();
name = type_mangled_name;
// FIX - needs implementing
const char *type_mangled_name = typeid(*obj).name();
name = type_mangled_name;
}
#endif