xo-imgui: clang compiler nits
This commit is contained in:
parent
6c7b13e443
commit
f46c1d613e
3 changed files with 5 additions and 1 deletions
|
|
@ -119,6 +119,8 @@ namespace xo {
|
||||||
**/
|
**/
|
||||||
class GcCopyCallback {
|
class GcCopyCallback {
|
||||||
public:
|
public:
|
||||||
|
virtual ~GcCopyCallback() = default;
|
||||||
|
|
||||||
virtual void notify_gc_copy(std::size_t z, const void * src_addr, const void * dest_addr,
|
virtual void notify_gc_copy(std::size_t z, const void * src_addr, const void * dest_addr,
|
||||||
generation src_gen, generation dest_gen) = 0;
|
generation src_gen, generation dest_gen) = 0;
|
||||||
/** invoked when added to callback set (i.e. @ref GC::GcCopyCallbackSet) **/
|
/** invoked when added to callback set (i.e. @ref GC::GcCopyCallbackSet) **/
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,8 @@ namespace xo {
|
||||||
*
|
*
|
||||||
* Passed to @ref Object::deep_move for example
|
* Passed to @ref Object::deep_move for example
|
||||||
**/
|
**/
|
||||||
struct ObjectStatistics {
|
class ObjectStatistics {
|
||||||
|
public:
|
||||||
void display(std::ostream & os) const;
|
void display(std::ostream & os) const;
|
||||||
|
|
||||||
/** per-object-type statistics, indexed by TypeId **/
|
/** per-object-type statistics, indexed by TypeId **/
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@
|
||||||
#include "xo/indentlog/scope.hpp"
|
#include "xo/indentlog/scope.hpp"
|
||||||
#include "xo/indentlog/print/tag.hpp"
|
#include "xo/indentlog/print/tag.hpp"
|
||||||
#include <sys/mman.h>
|
#include <sys/mman.h>
|
||||||
|
#include <unistd.h> // for getpagesize() on OSX
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
||||||
namespace xo {
|
namespace xo {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue