From 823026b58211a4166de06ac243d978dcb9930271 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 22 Jan 2024 15:58:08 +0300 Subject: Turn odb repository into muti-package repository Also remove the autoconf/make-based build system. --- odb/context.ixx | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 odb/context.ixx (limited to 'odb/context.ixx') diff --git a/odb/context.ixx b/odb/context.ixx deleted file mode 100644 index 5018743..0000000 --- a/odb/context.ixx +++ /dev/null @@ -1,26 +0,0 @@ -// file : odb/context.ixx -// license : GNU GPL v3; see accompanying LICENSE file - -inline bool user_section:: -load_empty () const -{ - return !separate_load () || (total == 0 && !containers && !optimistic ()); -} - -inline bool user_section:: -update_empty () const -{ - return total == inverse + readonly && !readwrite_containers; -} - -inline bool user_section:: -optimistic () const -{ - if (!context::optimistic (*object)) - return false; - else - { - semantics::class_* poly_root (context::polymorphic (*object)); - return poly_root == 0 || poly_root == object; - } -} -- cgit v1.1