mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
.clang related fixed (thanks dolik.rce)
git-svn-id: svn://ultimatepp.org/upp/trunk@2836 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
55d22e7d2a
commit
39575918df
2 changed files with 8 additions and 4 deletions
|
|
@ -1,10 +1,9 @@
|
|||
#include <Core/Core.h>
|
||||
#include <vector>
|
||||
|
||||
using namespace Upp;
|
||||
using namespace std;
|
||||
namespace Upp {
|
||||
|
||||
template<> void Upp::Xmlize(XmlIO xml, vector<int>& data) {
|
||||
template<> void Xmlize(XmlIO xml, std::vector<int>& data) {
|
||||
if(xml.IsStoring())
|
||||
for(int i = 0; i < (int)data.size(); i++)
|
||||
Xmlize(xml.Add("item"), data[i]);
|
||||
|
|
@ -18,6 +17,11 @@ template<> void Upp::Xmlize(XmlIO xml, vector<int>& data) {
|
|||
}
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
using namespace Upp;
|
||||
using namespace std;
|
||||
|
||||
CONSOLE_APP_MAIN
|
||||
{
|
||||
vector<int> x;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue