Skip to content

Commit 5187620

Browse files
committed
Fix xrGame compilation
1 parent d757f8a commit 5187620

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/xrGame/traffic_optimization.h

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
#ifndef TRAFFIC_OPTIMIZATION_INCLUDED
2-
#define TRAFFIC_OPTIMIZATION_INCLUDED
1+
#pragma once
32

43
#include "xrCore/compression_ppmd_stream.h"
5-
#include "xrCore/lzo_compressor.h"
4+
#include "xrCore/Compression/lzo_compressor.h"
65

76
namespace compression
87
{
@@ -11,7 +10,7 @@ namespace ppmd
1110
class stream;
1211
}; // namespace ppmd
1312

14-
typedef compression::ppmd::stream ppmd_trained_stream;
13+
using ppmd_trained_stream = ppmd::stream;
1514
void init_ppmd_trained_stream(ppmd_trained_stream*& dest);
1615
void deinit_ppmd_trained_stream(ppmd_trained_stream*& src);
1716

@@ -35,5 +34,3 @@ enum enum_traffic_optimization
3534
}; // enum enum_traffic_optimization
3635

3736
extern u32 g_sv_traffic_optimization_level;
38-
39-
#endif //#ifndef TRAFFIC_OPTIMIZATION_INCLUDED

0 commit comments

Comments
 (0)