Formatting all code. Too gnarly to rebase properly.

This commit is contained in:
Ben Vanik
2015-12-29 13:13:34 -08:00
parent 4e7dfa477b
commit 948aa2400d
16 changed files with 27 additions and 30 deletions

View File

@@ -187,7 +187,6 @@ class XObject {
static object_ref<T> GetNativeObject(KernelState* kernel_state,
void* native_ptr, int32_t as_type = -1);
protected:
bool SaveObject(ByteStream* stream);
bool RestoreObject(ByteStream* stream);
@@ -313,9 +312,7 @@ class object_ref {
void reset(T* value) noexcept { object_ref(value).swap(*this); }
inline bool operator==(const T* right) noexcept {
return value_ == right;
}
inline bool operator==(const T* right) noexcept { return value_ == right; }
private:
T* value_ = nullptr;