src/model.cpp

changeset 1087
80e25f6b0bb0
parent 1082
1738bdaf36d6
child 1091
4a754362f660
--- a/src/model.cpp	Mon Jan 30 02:41:45 2017 +0200
+++ b/src/model.cpp	Mon Jan 30 14:30:55 2017 +0200
@@ -450,3 +450,8 @@
 	else
 		return nullptr;
 }
+
+int countof(Model& model)
+{
+	return model.size();
+}

mercurial