From: Michal 'vorner' Vaner Date: Sat, 2 Jun 2012 11:16:22 +0000 (+0200) Subject: [1975] Run the header through compilation X-Git-Tag: trac2351_base~97^2~9^2~4^2~23 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=128271198f60e6b1f045d6080ef4040760b6ec58;p=thirdparty%2Fkea.git [1975] Run the header through compilation Added a .cc file so something includes the header file. This is used as a syntax check for now, there's no useful code yet anyway. --- diff --git a/src/lib/datasrc/Makefile.am b/src/lib/datasrc/Makefile.am index 2cdb8ea378..3ee3337a7b 100644 --- a/src/lib/datasrc/Makefile.am +++ b/src/lib/datasrc/Makefile.am @@ -30,6 +30,7 @@ libdatasrc_la_SOURCES += logger.h logger.cc libdatasrc_la_SOURCES += client.h iterator.h libdatasrc_la_SOURCES += database.h database.cc libdatasrc_la_SOURCES += factory.h factory.cc +libdatasrc_la_SOURCES += container.h container.cc nodist_libdatasrc_la_SOURCES = datasrc_messages.h datasrc_messages.cc libdatasrc_la_LDFLAGS = -no-undefined -version-info 1:0:1 diff --git a/src/lib/datasrc/container.cc b/src/lib/datasrc/container.cc new file mode 100644 index 0000000000..c568827fd7 --- /dev/null +++ b/src/lib/datasrc/container.cc @@ -0,0 +1,15 @@ +// Copyright (C) 2012 Internet Systems Consortium, Inc. ("ISC") +// +// Permission to use, copy, modify, and/or distribute this software for any +// purpose with or without fee is hereby granted, provided that the above +// copyright notice and this permission notice appear in all copies. +// +// THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH +// REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +// AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, +// INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +// LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE +// OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +// PERFORMANCE OF THIS SOFTWARE. + +#include "container.h" diff --git a/src/lib/datasrc/container.h b/src/lib/datasrc/container.h index 57d3ceb46b..67f95755f5 100644 --- a/src/lib/datasrc/container.h +++ b/src/lib/datasrc/container.h @@ -62,7 +62,7 @@ public: datasrc_(datasrc), finder_(finder), matched_labels_(matched_labels), - exact_match(exact_match) + exact_match_(exact_match) { } /// \brief Negative answer constructor. ///