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/emitter.cxx | 50 -------------------------------------------------- 1 file changed, 50 deletions(-) delete mode 100644 odb/emitter.cxx (limited to 'odb/emitter.cxx') diff --git a/odb/emitter.cxx b/odb/emitter.cxx deleted file mode 100644 index d6d8eac..0000000 --- a/odb/emitter.cxx +++ /dev/null @@ -1,50 +0,0 @@ -// file : odb/emitter.cxx -// license : GNU GPL v3; see accompanying LICENSE file - -#include -#include - -using namespace std; - -void emitter:: -pre () -{ -} - -void emitter:: -post () -{ -} - -int emitter_ostream::streambuf:: -sync () -{ - string s (str ()); - - // Get rid of the trailing newline if any. - // - if (string::size_type n = s.size ()) - { - if (s[n - 1] == '\n') - s.resize (n - 1); - } - - // Temporary restore output diversion. - // - bool r (false); - context& ctx (context::current ()); - - if (ctx.os.rdbuf () == this) - { - ctx.restore (); - r = true; - } - - e_.line (s); - - if (r) - ctx.diverge (this); - - str (string ()); - return 0; -} -- cgit v1.1