summaryrefslogtreecommitdiffstats
path: root/dbus/property.cc
diff options
context:
space:
mode:
authortzik@chromium.org <tzik@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-25 04:04:27 +0000
committertzik@chromium.org <tzik@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-25 04:04:27 +0000
commit2934be455959aced9205bb4c7b48768ff06eea6d (patch)
treea306c59447cfd5ae736cfbb7d7e4f6cca8f21731 /dbus/property.cc
parent79a15f553df2fe89424384fc9fdfe9f14818f41b (diff)
downloadchromium_src-2934be455959aced9205bb4c7b48768ff06eea6d.zip
chromium_src-2934be455959aced9205bb4c7b48768ff06eea6d.tar.gz
chromium_src-2934be455959aced9205bb4c7b48768ff06eea6d.tar.bz2
[DBus] Explicitly instantiate dbusProperty variant
dbus::Property<std::vector<uint8> > isn't instantiated in libdbus in non-ChromeOS build + latest clang. That causes instantiation of the template in dbus_unittests, and causes link failure. Review URL: https://codereview.chromium.org/408143012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285475 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'dbus/property.cc')
-rw-r--r--dbus/property.cc15
1 files changed, 15 insertions, 0 deletions
diff --git a/dbus/property.cc b/dbus/property.cc
index b518e99..9475a07 100644
--- a/dbus/property.cc
+++ b/dbus/property.cc
@@ -478,4 +478,19 @@ void Property<std::vector<uint8> >::AppendSetValueToWriter(
writer->CloseContainer(&variant_writer);
}
+template class Property<uint8>;
+template class Property<bool>;
+template class Property<int16>;
+template class Property<uint16>;
+template class Property<int32>;
+template class Property<uint32>;
+template class Property<int64>;
+template class Property<uint64>;
+template class Property<double>;
+template class Property<std::string>;
+template class Property<ObjectPath>;
+template class Property<std::vector<std::string> >;
+template class Property<std::vector<ObjectPath> >;
+template class Property<std::vector<uint8> >;
+
} // namespace dbus